diff options
author | Marcus Tillmanns <[email protected]> | 2022-11-17 11:34:41 +0100 |
---|---|---|
committer | Marcus Tillmanns <[email protected]> | 2022-11-17 12:13:11 +0000 |
commit | c699249bc4f583db91a9487405ebbf544a3a6986 (patch) | |
tree | 133b7adeab7c5e4e5abfa647b07a0834a8e1a23b /src/plugins/qmakeprojectmanager/makefileparse.cpp | |
parent | 9fc27b3bb43ed75358aad46792175c59ff97e742 (diff) |
QMake: Fix path cleaning
The .pro file path is QString compared when trying to import
an existing buildfolder. This broke since resolvePath() does not
necessarily clean the path anymore.
Fixes: QTCREATORBUG-28409
Change-Id: I10286f086762b8f8dd9020aa4003317ff6180e12
Reviewed-by: <[email protected]>
Reviewed-by: Christian Kandeler <[email protected]>
Diffstat (limited to 'src/plugins/qmakeprojectmanager/makefileparse.cpp')
-rw-r--r-- | src/plugins/qmakeprojectmanager/makefileparse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmakeprojectmanager/makefileparse.cpp b/src/plugins/qmakeprojectmanager/makefileparse.cpp index c24450a5105..bd0f8f657ff 100644 --- a/src/plugins/qmakeprojectmanager/makefileparse.cpp +++ b/src/plugins/qmakeprojectmanager/makefileparse.cpp @@ -252,7 +252,7 @@ MakeFileParse::MakeFileParse(const FilePath &makefile, Mode mode) : m_mode(mode) project = project.trimmed(); // Src Pro file - m_srcProFile = makefile.parentDir().resolvePath(project); + m_srcProFile = makefile.parentDir().resolvePath(project).cleanPath(); qCDebug(logging()) << " source .pro file:" << m_srcProFile; QString command = findQMakeLine(makefile, QLatin1String("# Command:")).trimmed(); |