forked from qt-creator/qt-creator
Qt4PM: Reduce priority of qmake parser in makestep parser chain
This stops it from eating lines that are actually produced by the compiler. Change-Id: I725690eaee6fe223c7024299420a924b455d2723 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -255,11 +255,12 @@ bool MakeStep::init()
|
||||
pp->resolveAll();
|
||||
|
||||
setOutputParser(new ProjectExplorer::GnuMakeParser());
|
||||
appendOutputParser(new QMakeParser); // make may cause qmake to be run.
|
||||
IOutputParser *parser = target()->kit()->createOutputParser();
|
||||
if (parser)
|
||||
appendOutputParser(parser);
|
||||
outputParser()->setWorkingDirectory(pp->effectiveWorkingDirectory());
|
||||
appendOutputParser(new QMakeParser); // make may cause qmake to be run, add last to make sure
|
||||
// it has a low priority.
|
||||
|
||||
m_scriptTarget = (static_cast<Qt4Project *>(bc->target()->project())->rootQt4ProjectNode()->projectType() == ScriptTemplate);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user