forked from qt-creator/qt-creator
BaseQtVersion: remove qmakeProperty(...) getter
Qt 6 will not use qmake to identify a Qt version, so this can not be part of the public interface of BaseQtVersion anymore. Provide getters for the information actually read via qmakeProperty(...). Use the getters whenever possible. Change-Id: Iadbee80b75e4f8b06caf90e7ed69fae2029b4dd7 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -234,16 +234,16 @@ QList<DeployableFile> QnxDeployQtLibrariesDialog::gatherFiles()
|
||||
QTC_ASSERT(qtVersion, return result);
|
||||
|
||||
if (Utils::HostOsInfo::isWindowsHost()) {
|
||||
result.append(gatherFiles(qtVersion->qmakeProperty("QT_INSTALL_LIBS"),
|
||||
QString(), QStringList() << QLatin1String("*.so.?")));
|
||||
result.append(gatherFiles(qtVersion->qmakeProperty("QT_INSTALL_LIBS")
|
||||
+ QLatin1String("/fonts")));
|
||||
result.append(gatherFiles(qtVersion->libraryPath().toString(),
|
||||
QString(),
|
||||
QStringList() << QLatin1String("*.so.?")));
|
||||
result.append(gatherFiles(qtVersion->libraryPath().toString() + QLatin1String("/fonts")));
|
||||
} else {
|
||||
result.append(gatherFiles(qtVersion->qmakeProperty("QT_INSTALL_LIBS")));
|
||||
result.append(gatherFiles(qtVersion->libraryPath().toString()));
|
||||
}
|
||||
|
||||
result.append(gatherFiles(qtVersion->qmakeProperty("QT_INSTALL_PLUGINS")));
|
||||
result.append(gatherFiles(qtVersion->qmakeProperty("QT_INSTALL_IMPORTS")));
|
||||
result.append(gatherFiles(qtVersion->pluginPath().toString()));
|
||||
result.append(gatherFiles(qtVersion->importsPath().toString()));
|
||||
result.append(gatherFiles(qtVersion->qmlPath().toString()));
|
||||
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user