qmljs: add qt5 qmlpath to code model paths

Change-Id: Ie0fd6f74818def859ab5bcb6fa104c4eec1b67fb
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
Fawzi Mohamed
2012-12-07 09:25:48 +01:00
committed by Kai Koehne
parent 71a0daa11c
commit e41d5c9a09
3 changed files with 5 additions and 0 deletions

View File

@@ -180,6 +180,7 @@ void QmlProject::refresh(RefreshOptions options)
if (version) {
pinfo.tryQmlDump = true;
pinfo.qtImportsPath = version->qmakeProperty("QT_INSTALL_IMPORTS");
pinfo.qtQmlPath = version->qmakeProperty("QT_INSTALL_QML");
pinfo.qtVersionString = version->qtVersionString();
}
m_modelManager->updateProjectInfo(pinfo);