Add buildparser for the QMake step

Add an option to have a buildparser for the qmake step and implement
a pretty simple parser.

Reviewed-By: dt
This commit is contained in:
Tobias Hunger
2009-11-11 17:06:58 +01:00
parent 074b111c66
commit d151493acc
9 changed files with 150 additions and 6 deletions

View File

@@ -38,6 +38,8 @@
#include <coreplugin/icore.h>
#include <utils/qtcassert.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <QFileDialog>
#include <QDir>
#include <QFile>
@@ -48,7 +50,7 @@ using namespace Qt4ProjectManager::Internal;
using namespace ProjectExplorer;
QMakeStep::QMakeStep(Qt4Project *project)
: AbstractProcessStep(project), m_pro(project), m_forced(false)
: AbstractMakeStep(project), m_pro(project), m_forced(false)
{
}
@@ -137,6 +139,8 @@ bool QMakeStep::init(const QString &name)
setCommand(name, program);
setArguments(name, args);
setEnvironment(name, m_pro->environment(bc));
setBuildParser(ProjectExplorer::Constants::BUILD_PARSER_QMAKE);
return AbstractProcessStep::init(name);
}