Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt cancel build button not working

Qt cancel build button not working

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
15 Posts 4 Posters 1.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J JonB
    23 Sept 2021, 13:56

    @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.

    H Offline
    H Offline
    hbatalha
    wrote on 23 Sept 2021, 14:13 last edited by hbatalha
    #3

    @JonB Sorry, I edited the OP.

    Does it never work for you?

    No. It just stays stuck.

    1 Reply Last reply
    0
    • J Offline
      J Offline
      JoeCFD
      wrote on 23 Sept 2021, 14:21 last edited by
      #4

      Maybe try to reboot your machine.

      1 Reply Last reply
      0
      • H hbatalha
        23 Sept 2021, 13:47

        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.

        J Offline
        J Offline
        JonB
        wrote on 23 Sept 2021, 14:48 last edited by
        #5

        @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?

        1 Reply Last reply
        0
        • A Offline
          A Offline
          artwaw
          wrote on 23 Sept 2021, 16:17 last edited by
          #6

          I 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

          But it does not bother me, I never use that functionality...

          For more information please re-read.

          Kind Regards,
          Artur

          H 1 Reply Last reply 23 Sept 2021, 17:42
          1
          • J Offline
            J Offline
            JonB
            wrote on 23 Sept 2021, 16:34 last edited by JonB
            #7

            @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 :)

            1 Reply Last reply
            1
            • A artwaw
              23 Sept 2021, 16:17

              I 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

              But it does not bother me, I never use that functionality...

              H Offline
              H Offline
              hbatalha
              wrote on 23 Sept 2021, 17:42 last edited by
              #8

              @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.

              1 Reply Last reply
              0
              • H Offline
                H Offline
                hbatalha
                wrote on 23 Sept 2021, 17:50 last edited by
                #9

                It turns out there is a new version of Qt Creator, Qt Creator 5.0.0-rc1 (Community). Cancel button seems to be working fine.

                J 1 Reply Last reply 23 Sept 2021, 17:56
                1
                • H hbatalha
                  23 Sept 2021, 17:50

                  It turns out there is a new version of Qt Creator, Qt Creator 5.0.0-rc1 (Community). Cancel button seems to be working fine.

                  J Offline
                  J Offline
                  JonB
                  wrote on 23 Sept 2021, 17:56 last edited by JonB
                  #10

                  @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 than Qt Creator 5.0.1 that you are both talking about?

                  H 1 Reply Last reply 23 Sept 2021, 18:37
                  0
                  • J JonB
                    23 Sept 2021, 17:56

                    @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 than Qt Creator 5.0.1 that you are both talking about?

                    H Offline
                    H Offline
                    hbatalha
                    wrote on 23 Sept 2021, 18:37 last edited by hbatalha
                    #11

                    @JonB hahaha didn't notice that, the reason I said it was the latest version is because it is the latest version in MaintenanceTool.exe right now but it is not.

                    fbc1234e-7b31-42bc-a644-68c311517b2d-image.png

                    e9fbd649-e9c1-49ab-b15f-d7b2599f801b-image.png

                    The latest version I find in MaintenanceTool is Qt Creator 5.0.0-rc1.

                    J 1 Reply Last reply 23 Sept 2021, 18:43
                    0
                    • H hbatalha
                      23 Sept 2021, 18:37

                      @JonB hahaha didn't notice that, the reason I said it was the latest version is because it is the latest version in MaintenanceTool.exe right now but it is not.

                      fbc1234e-7b31-42bc-a644-68c311517b2d-image.png

                      e9fbd649-e9c1-49ab-b15f-d7b2599f801b-image.png

                      The latest version I find in MaintenanceTool is Qt Creator 5.0.0-rc1.

                      J Offline
                      J Offline
                      JonB
                      wrote on 23 Sept 2021, 18:43 last edited by
                      #12

                      @hbatalha
                      The point is if you say it works OK at 5.0.0-rc1 but not at released 5.0.1 that would indicate a regression in the "Stop" behaviour. Waiting to hit people. Worthy of notification if that is the case.

                      H 1 Reply Last reply 23 Sept 2021, 18:48
                      0
                      • J JonB
                        23 Sept 2021, 18:43

                        @hbatalha
                        The point is if you say it works OK at 5.0.0-rc1 but not at released 5.0.1 that would indicate a regression in the "Stop" behaviour. Waiting to hit people. Worthy of notification if that is the case.

                        H Offline
                        H Offline
                        hbatalha
                        wrote on 23 Sept 2021, 18:48 last edited by
                        #13

                        @JonB yeah that's the case. Maybe it will be fixed when they release Qt Creator 5.0.1, again. But where would I notify this behavior? In Qt bugreports ?

                        J 1 Reply Last reply 23 Sept 2021, 18:54
                        0
                        • H hbatalha
                          23 Sept 2021, 18:48

                          @JonB yeah that's the case. Maybe it will be fixed when they release Qt Creator 5.0.1, again. But where would I notify this behavior? In Qt bugreports ?

                          J Offline
                          J Offline
                          JonB
                          wrote on 23 Sept 2021, 18:54 last edited by
                          #14

                          @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.

                          H 1 Reply Last reply 23 Sept 2021, 20:03
                          0
                          • J JonB
                            23 Sept 2021, 18:54

                            @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.

                            H Offline
                            H Offline
                            hbatalha
                            wrote on 23 Sept 2021, 20:03 last edited by hbatalha
                            #15

                            @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.

                            1 Reply Last reply
                            2

                            12/15

                            23 Sept 2021, 18:43

                            • Login

                            • Login or register to search.
                            12 out of 15
                            • First post
                              12/15
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • Users
                            • Groups
                            • Search
                            • Get Qt Extensions
                            • Unsolved