The new API has been shipped in Qt 6.7.0
Effectively reverts 79113d99 and efddc639
CCBUG: 449385 CCBUG: 450122