Commit 7b467cba authored by Tobias Hunger's avatar Tobias Hunger

CMake: Make sure paths are clean in server-mode

Change-Id: I93c61a24e63d8920731b4197d88248d13219eb81
Reviewed-by: Tobias Hunger's avatarTobias Hunger <tobias.hunger@qt.io>
parent 231fc628
......@@ -464,7 +464,7 @@ ServerModeReader::FileGroup *ServerModeReader::extractFileGroupData(const QVaria
fileGroup->isGenerated = data.value("isGenerated", false).toBool();
fileGroup->sources = transform(data.value(SOURCES_KEY).toStringList(),
[&srcDir](const QString &s) {
return FileName::fromString(srcDir.absoluteFilePath(s));
return FileName::fromString(QDir::cleanPath(srcDir.absoluteFilePath(s)));
});
m_fileGroups.append(fileGroup);
......
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