From bef1ace116a5c1e2f8e476e403a8186e9c3291ee Mon Sep 17 00:00:00 2001 From: Cristian Adam Date: Tue, 10 May 2022 19:24:14 +0200 Subject: [PATCH] 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 --- src/plugins/cmakeprojectmanager/cmakeprocess.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/cmakeprojectmanager/cmakeprocess.cpp b/src/plugins/cmakeprojectmanager/cmakeprocess.cpp index 9da43128dce..d41777e21e4 100644 --- a/src/plugins/cmakeprojectmanager/cmakeprocess.cpp +++ b/src/plugins/cmakeprojectmanager/cmakeprocess.cpp @@ -140,6 +140,7 @@ void CMakeProcess::run(const BuildDirParameters ¶meters, const QStringList & "CMake.Configure", 10); + process->setUseCtrlCStub(true); process->setCommand(commandLine); emit started(); m_elapsed.start();