Qt cancel build button not working
-
After a clean install the button that lets me stops a build is not working anymore. During a build I click the cancel build the build just gets stuck. Only way to cancel it is to close either the project or the Qt Creator.
Is this a bug or is there any fix?Edit: I am on windows and the version is Qt Creator 5.0.1 (Community). The Qt version I tested with was Qt 6.1.2, Qt 6.1.3 and 6.2.0.
-
@hbatalha
Somebody may ask you: what version of Creator, what platform and what compiler?Does it never work for you? Cancelling on-going compilation sub-processes may not be instantaneous, remember you have a make calling a compiler, I'm not sure how Creator attempts to "interrupt" these.
-
@hbatalha said in Qt cancel build button not working:
Edit: I am on windows and the version is Qt Creator 5.0.1 (Community). The Qt version I tested with was Qt 6.1.2, Qt 6.1.3 and 6.2.0.
It probably does not matter, but as I said you should state which compiler chain you are using, presumably either MinGW or Microsoft Visual C++, since those executables are what need to be interrupted?
-
@artwaw , @hbatalha
TBH, Over the years I have used many IDEs (and non-IDEs) for building across various platforms --- VC, gcc, Visual Studio, Creator, Eclipse, others.... Stopping builds, and stopping them cleanly so the IDE doesn't get stuck, has often been a lottery/crapshoot. Shame because it's very useful, but sometimes unreliable.FWIW, there is an interesting description of what someone (a Qt dev?) claims about how the "Stop" button in Creator works (at least as of late 2018) at https://bugreports.qt.io/browse/QTCREATORBUG-21428?focusedCommentId=430349&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-430349
Doesn't say why it's unreliable or whether it's any worse at Qt 6, but worth a read anyway :)
-
@artwaw said in Qt cancel build button not working:
can confirm that cancelling Qt Creator build process makes it just stuck. Only solution is to reopen the program.
Qt Creator 5.0.1, Windows, minGW 8.1@artwaw yeah I am using mingw 8.1
But it does not bother me, I never use that functionality...
I use it all the time.
-
@hbatalha said in Qt cancel build button not working:
It turns out there is a new version of Qt Creator, Qt Creator 5.0.0-rc1 (Community).
Just interested: How does
Qt Creator 5.0.0-rc1
come out more recent thanQt Creator 5.0.1
that you are both talking about? -
-
@hbatalha
I believe so, yes. I presume there is a really suitable place for regressions in latest release. You want to see whether someone has already reported this. Someone might like to tell us what the link is for the changelog from 5.0.0-rc1 through 5.0.1 in case you can spot something relevant. -
@JonB https://www.qt.io/blog/qt-creator-5.0.1-released
Someone pointed this problem out in the comments. and there has already been a bug report on this.
Apparently the fix will be available in 5.0.2.