forked from qt-creator/qt-creator
CMake: Properly split QML_IMPORT_PATH
Change-Id: I0626da3a08e0e190757900a2df312ab0cee948d0 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -301,9 +301,8 @@ void CMakeProject::updateQmlJSCodeModel()
|
||||
}
|
||||
}
|
||||
|
||||
foreach (const QString &cmakeImport, cmakeImports.split(QLatin1Char(';'))) {
|
||||
foreach (const QString &cmakeImport, CMakeConfigItem::cmakeSplitValue(cmakeImports))
|
||||
projectInfo.importPaths.maybeInsert(FileName::fromString(cmakeImport),QmlJS::Dialect::Qml);
|
||||
}
|
||||
|
||||
modelManager->updateProjectInfo(projectInfo, this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user