forked from qt-creator/qt-creator
Don't try to add absolute paths with FilePath::pathAppended()
Change-Id: Ib4cc5cacb33679e4ed8d7aec24b6392c2e000b60 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -668,7 +668,7 @@ void CMakeBuildSystem::updateProjectData()
|
||||
QList<QByteArray> moduleMappings;
|
||||
for (const RawProjectPart &rpp : qAsConst(rpps)) {
|
||||
FilePath moduleMapFile = cmakeBuildConfiguration()->buildDirectory()
|
||||
.pathAppended("/qml_module_mappings/" + rpp.buildSystemTarget);
|
||||
.pathAppended("qml_module_mappings/" + rpp.buildSystemTarget);
|
||||
if (moduleMapFile.exists()) {
|
||||
QFile mmf(moduleMapFile.toString());
|
||||
if (mmf.open(QFile::ReadOnly)) {
|
||||
|
||||
Reference in New Issue
Block a user