Use QtParser in CMake/Autotools/generic project makesteps

Change-Id: Ibe8db500e1b8ed7b473cc07cb00e303fa6bea9d1
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
Tobias Hunger
2012-09-26 17:53:25 +02:00
parent 5d253b3704
commit 6c436988ff
3 changed files with 17 additions and 0 deletions

View File

@@ -43,6 +43,9 @@
#include <projectexplorer/target.h>
#include <projectexplorer/toolchain.h>
#include <qtsupport/qtkitinformation.h>
#include <qtsupport/qtparser.h>
#include <utils/qtcprocess.h>
#include <QFormLayout>
@@ -157,6 +160,10 @@ bool MakeStep::init()
pp->setArguments(arguments);
setOutputParser(new ProjectExplorer::GnuMakeParser());
QtSupport::BaseQtVersion *version = QtSupport::QtKitInformation::qtVersion(target()->kit());
if (version)
appendOutputParser(new QtSupport::QtParser);
if (tc)
appendOutputParser(tc->outputParser());
outputParser()->setWorkingDirectory(pp->effectiveWorkingDirectory());