forked from qt-creator/qt-creator
QbsProjectManager: Set up QML-related paths
This was simply missing. Change-Id: Ie8b8cac88fef1c0560f9212b4c00edcd05d04a61 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
@@ -180,6 +180,8 @@ void QbsManager::addQtProfileFromKit(const QString &profileName, const ProjectEx
|
||||
if (qtEnv.qtConfigItems.contains(buildVariant))
|
||||
qtEnv.buildVariant << buildVariant;
|
||||
}
|
||||
qtEnv.qmlPath = qt->qmakeProperty("QT_INSTALL_QML");
|
||||
qtEnv.qmlImportPath = qt->qmakeProperty("QT_INSTALL_IMPORTS");
|
||||
const qbs::ErrorInfo errorInfo = qbs::setupQtProfile(profileName, settings(), qtEnv);
|
||||
if (errorInfo.hasError()) {
|
||||
Core::MessageManager::write(tr("Failed to set up kit for Qbs: %1")
|
||||
|
||||
Reference in New Issue
Block a user