forked from qt-creator/qt-creator
Fix bug with unclean paths with multiple .pro files in the same dir
Task-number: QTCREATORBUG-6414 Change-Id: Idb9277e951270688766b1e569c7ae0f962b2e4c3 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
@@ -2063,7 +2063,7 @@ QStringList Qt4ProFileNode::subDirsPaths(QtSupport::ProFileReader *reader) const
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (QFile::exists(realFile)) {
|
if (QFile::exists(realFile)) {
|
||||||
subProjectPaths << realFile;
|
subProjectPaths << QDir::cleanPath(realFile);
|
||||||
} else {
|
} else {
|
||||||
m_project->proFileParseError(tr("Could not find .pro file for sub dir '%1' in '%2'")
|
m_project->proFileParseError(tr("Could not find .pro file for sub dir '%1' in '%2'")
|
||||||
.arg(subDirVar).arg(realDir));
|
.arg(subDirVar).arg(realDir));
|
||||||
|
|||||||
Reference in New Issue
Block a user