Commit 71709f31 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

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: default avatarDaniel Teske <daniel.teske@digia.com>
parent a2171c2d
......@@ -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);
......
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