Commit d530e8dd authored by Daniel Teske's avatar Daniel Teske Committed by Tobias Hunger

Don't offer Makefile.Debug and Makefile.Release for importing

Task-number: QTCREATORBUG-6562
Change-Id: I1630d7c13ab59d848626a4a4b8fb542765a16d6e
Reviewed-by: default avatarEike Ziller <eike.ziller@nokia.com>
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent 751ac3fb
......@@ -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;
......
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