disable Ctrl-C stub in debug build

Activating the controlcstub in a debug build will send Ctrl-C to
Qt Creator too, because he stub and Qt Creator share the same
Windows.
We're disabling the stub in debug builds. Cancelling a build
still works but takes a bit longer.

Task-number: QTCREATORBUG-11995
Change-Id: I766c2eac1f07205c411a7e4164e7d73b6c0441aa
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
Joerg Bornemann
2014-05-16 15:57:02 +02:00
parent a64a49ffcb
commit 3d38541b14
2 changed files with 11 additions and 1 deletions

View File

@@ -51,7 +51,7 @@ public:
{ 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 setUseCtrlCStub(bool enabled);
void start();
void terminate();
void interrupt();