forked from qt-creator/qt-creator
Use QtParser in CMake/Autotools/generic project makesteps
Change-Id: Ibe8db500e1b8ed7b473cc07cb00e303fa6bea9d1 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -44,6 +44,8 @@
|
||||
#include <projectexplorer/kitinformation.h>
|
||||
#include <projectexplorer/projectexplorer.h>
|
||||
#include <projectexplorer/projectexplorerconstants.h>
|
||||
#include <qtsupport/qtkitinformation.h>
|
||||
#include <qtsupport/qtparser.h>
|
||||
#include <utils/qtcprocess.h>
|
||||
|
||||
#include <QVariantMap>
|
||||
@@ -193,6 +195,9 @@ bool MakeStep::init()
|
||||
pp->setArguments(arguments);
|
||||
|
||||
setOutputParser(new GnuMakeParser());
|
||||
QtSupport::BaseQtVersion *version = QtSupport::QtKitInformation::qtVersion(target()->kit());
|
||||
if (version)
|
||||
appendOutputParser(new QtSupport::QtParser);
|
||||
if (tc)
|
||||
appendOutputParser(tc->outputParser());
|
||||
outputParser()->setWorkingDirectory(pp->effectiveWorkingDirectory());
|
||||
|
||||
Reference in New Issue
Block a user