diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/qtsupport/qtversionmanager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/qtsupport/qtversionmanager.cpp b/src/plugins/qtsupport/qtversionmanager.cpp index 8c7cfbe0f8..b33a8ee27b 100644 --- a/src/plugins/qtsupport/qtversionmanager.cpp +++ b/src/plugins/qtsupport/qtversionmanager.cpp @@ -743,6 +743,10 @@ QtVersionManager::MakefileCompatible QtVersionManager::makefileIsFor(const QStri if (proFile.isEmpty()) return CouldNotParse; + // The Makefile.Debug / Makefile.Release lack a # Command: line + if (findQMakeLine(makefile, QLatin1String("# Command:")).trimmed().isEmpty()) + return CouldNotParse; + QString line = findQMakeLine(makefile, QLatin1String("# Project:")).trimmed(); if (line.isEmpty()) return CouldNotParse; |