Commit 5481ca6e authored by Tobias Hunger's avatar Tobias Hunger

CMake: Properly split QML_IMPORT_PATH

Change-Id: I0626da3a08e0e190757900a2df312ab0cee948d0
Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
parent 653f60ae
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment