Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 2.2.0-beta, Qt Creator 2.3.0-beta
-
None
-
Windows
Description
Terminating the build takes five seconds on Windows.
This is how we're trying to terminate the process:
- We call QProcess::terminate() which sends WM_CLOSE to the windows of the process. This has basically no effect for console processes.
- We're waiting five seconds.
- We call QProcess::kill().
On Windows, the first two steps are useless. We're always doing a useless wait and then kill our console process.
What we should do instead is sending Ctrl-C to the child process.
Attachments
Issue Links
- replaces
-
QTCREATORBUG-3888 Cancel build for subdirs project with mingw doesn't cancel the build
- Closed
-
QTCREATORBUG-4497 Make crash when cancel build
- Closed