forked from qt-creator/qt-creator
QmakeProjectManager: Compare the right set of arguments
... when determining whether to re-run qmake. We need to look at the effective arguments, not the user arguments. Of course, the whole approach is still a shaky heuristic, but it should be more correct now than it was before. Fixes: QTCREATORBUG-24538 Change-Id: I763f8095becacde0f9549890161b8a47c6344b6b Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -126,7 +126,7 @@ QList<void *> QmakeProjectImporter::examineDirectory(const FilePath &importPath)
|
||||
qCDebug(logs) << " Parsing makefile" << file;
|
||||
// find interesting makefiles
|
||||
QString makefile = importPath.toString() + QLatin1Char('/') + file;
|
||||
MakeFileParse parse(makefile);
|
||||
MakeFileParse parse(makefile, MakeFileParse::Mode::FilterKnownConfigValues);
|
||||
if (parse.makeFileState() != MakeFileParse::Okay) {
|
||||
qCDebug(logs) << " Parsing the makefile failed" << makefile;
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user