Use qtcbuildhelper for starting the build process on Windows.

Task-number: QTCREATORBUG-4558

Change-Id: Ib6f5be80f034135bbd8c45a22e223e758cc7e7b1
Reviewed-on: http://codereview.qt.nokia.com/2555
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
This commit is contained in:
Joerg Bornemann
2011-08-03 12:04:46 +02:00
parent c9f7d00975
commit 566d29f8b3
4 changed files with 41 additions and 1 deletions

View File

@@ -47,12 +47,18 @@ class QTCREATOR_UTILS_EXPORT QtcProcess : public QProcess
Q_OBJECT
public:
QtcProcess(QObject *parent = 0) : QProcess(parent), m_haveEnv(false) {}
QtcProcess(QObject *parent = 0)
: QProcess(parent),
m_haveEnv(false),
m_useCtrlCStub(false)
{}
void setEnvironment(const Environment &env)
{ m_environment = env; m_haveEnv = true; }
void setCommand(const QString &command, const QString &arguments)
{ m_command = command; m_arguments = arguments; }
void setUseCtrlCStub(bool enabled) { m_useCtrlCStub = enabled; }
void start();
void terminate();
enum SplitError {
SplitOk = 0, //! All went just fine
@@ -142,6 +148,7 @@ private:
QString m_arguments;
Environment m_environment;
bool m_haveEnv;
bool m_useCtrlCStub;
};
}