Remove some deprecated method
"This patch contains a few unrelated changes" which ones ?
"Qt::Orientations newLayout = nullptr;" is deprecated so we can't compile against qt5.15
"client().data()" is deprecated so we need to use .toStrongRef().data();
qmlRegisterType is deprecated.
I can't see unrelated changes here.
Heh, it seems you see this revision as one monolithic "remove usages of some deprecated functions and methods" and I see it as "use QWeakPointer::toStrongRef() instead of deprecated QWeakPointer::data(), use qmlRegisterAnonymousType() instead of deprecated qmlRegisterType(), fix initialization of QFlags<T>."
I guess this patch can go in, but I think it'll be better to have a patch for each individual change.