Add debug when skipping plugins due to new QPA version check
Pick-to: 6.8 Change-Id: Id1fae6b455a4fa5a66bbae3d312a16b2c50d6ac0 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
parent
3de914eef5
commit
edacb741a9
@ -352,8 +352,10 @@ inline void QFactoryLoaderPrivate::updateSinglePath(const QString &path)
|
||||
int thisVersion = library->metaData.value(QtPluginMetaDataKeys::QtVersion).toInteger();
|
||||
if (iid.startsWith(QStringLiteral("org.qt-project.Qt.QPA"))) {
|
||||
// QPA plugins must match Qt Major.Minor
|
||||
if (thisVersion != QtVersionNoPatch)
|
||||
if (thisVersion != QtVersionNoPatch) {
|
||||
qCDebug(lcFactoryLoader) << "Ignoring QPA plugin due to mismatching Qt versions" << QtVersionNoPatch << thisVersion;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
int keyUsageCount = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user