forked from qt-creator/qt-creator
CMakePM: Use CtrlC stub for the CMake process
This makes sure that the CMake process is terminated. Fixes: QTCREATORBUG-27518 Change-Id: Ibe227f6336be312abbe2517af421856463e9c9e8 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -140,6 +140,7 @@ void CMakeProcess::run(const BuildDirParameters ¶meters, const QStringList &
|
|||||||
"CMake.Configure",
|
"CMake.Configure",
|
||||||
10);
|
10);
|
||||||
|
|
||||||
|
process->setUseCtrlCStub(true);
|
||||||
process->setCommand(commandLine);
|
process->setCommand(commandLine);
|
||||||
emit started();
|
emit started();
|
||||||
m_elapsed.start();
|
m_elapsed.start();
|
||||||
|
Reference in New Issue
Block a user