Add output parser for Qt-specific utilities

* Handle moc warnings there
 * Add unit tests
 * Use new parser in Qt's makestep

Task-number: QTCREATORBUG-1908
This commit is contained in:
Tobias Hunger
2010-08-03 17:24:20 +02:00
parent 8f3c5467fe
commit 221cc38788
5 changed files with 192 additions and 1 deletions

View File

@@ -34,6 +34,7 @@
#include "qt4target.h"
#include "qt4buildconfiguration.h"
#include "qt4projectmanagerconstants.h"
#include "qtparser.h"
#include <projectexplorer/buildsteplist.h>
#include <projectexplorer/gnumakeparser.h>
@@ -170,7 +171,8 @@ bool MakeStep::init()
setEnabled(true);
setArguments(args);
setOutputParser(new ProjectExplorer::GnuMakeParser(workingDirectory));
setOutputParser(new QtParser);
appendOutputParser(new ProjectExplorer::GnuMakeParser(workingDirectory));
if (toolchain)
appendOutputParser(toolchain->outputParser());