forked from qt-creator/qt-creator
QtSupport: Add a method to retrieve the QML path
We check that qmake property in many different places. Change-Id: Ifd5efe4ad2831385493bd3afe8538929578e8fb4 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -180,7 +180,7 @@ void QbsManager::addQtProfileFromKit(const QString &profileName, const ProjectEx
|
||||
if (qtEnv.qtConfigItems.contains(buildVariant))
|
||||
qtEnv.buildVariant << buildVariant;
|
||||
}
|
||||
qtEnv.qmlPath = qt->qmakeProperty("QT_INSTALL_QML");
|
||||
qtEnv.qmlPath = qt->qmlPath().toString();
|
||||
qtEnv.qmlImportPath = qt->qmakeProperty("QT_INSTALL_IMPORTS");
|
||||
const qbs::ErrorInfo errorInfo = qbs::setupQtProfile(profileName, settings(), qtEnv);
|
||||
if (errorInfo.hasError()) {
|
||||
|
||||
Reference in New Issue
Block a user