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. Creator doesn't "--keep-going"
Qt 6.11 is out! See what's new in the release blog

Creator doesn't "--keep-going"

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
15 Posts 5 Posters 6.5k Views 2 Watching
  • 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.
  • A Asperamanca

    I have dozens of project open, and want to build all of them (to get a full error list). If Creator gets stuck with errors in a project, it should at least try to build the other ones.

    Therefore, I added "--keep-going" to all project make arguments (I am using Mingw 5.3.0).
    However, Creator stops on a linker error in the 1st project. Note that all the projects are independent of each other, so I don't see why Creator stops.

    Any suggestions?

    raven-worxR Offline
    raven-worxR Offline
    raven-worx
    Moderators
    wrote on last edited by
    #2

    @Asperamanca said in Creator doesn't "--keep-going":

    I have dozens of project open, and want to build all of them (to get a full error list)

    how do you exactly tell QtCreator to build all of your opened projects?!?

    --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
    If you have a question please use the forum so others can benefit from the solution in the future

    1 Reply Last reply
    0
    • A Offline
      A Offline
      Asperamanca
      wrote on last edited by
      #3

      Build menu -> Build all

      raven-worxR 1 Reply Last reply
      0
      • A Asperamanca

        Build menu -> Build all

        raven-worxR Offline
        raven-worxR Offline
        raven-worx
        Moderators
        wrote on last edited by
        #4

        @Asperamanca
        ah k.
        Anyways i think this is a flavor of QtCreator to stop on errors between the projects. And somehow this makes sense, since you most probably would just run into errors anyway when this project is a dependency of another project.
        The --keep-going is a makefile option so is only applied project internally.

        --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
        If you have a question please use the forum so others can benefit from the solution in the future

        A 1 Reply Last reply
        1
        • raven-worxR raven-worx

          @Asperamanca
          ah k.
          Anyways i think this is a flavor of QtCreator to stop on errors between the projects. And somehow this makes sense, since you most probably would just run into errors anyway when this project is a dependency of another project.
          The --keep-going is a makefile option so is only applied project internally.

          A Offline
          A Offline
          Asperamanca
          wrote on last edited by
          #5

          @raven-worx
          It doesn't make sense in my case, because each project builds an independent static library. Since I am upgrading a lot of code using search & replace, life would be much easier if I could go through one single big error list over all project, instead of working one project at a time.

          1 Reply Last reply
          0
          • mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #6

            Hi
            You could insert --keep-going
            in all the projects and sort of get that effect.

            1 Reply Last reply
            0
            • A Offline
              A Offline
              Asperamanca
              wrote on last edited by
              #7

              That's what I do, and after upgrading from Creator 4.1.0 to 4.5.0 it no longer seems to work. Or the problem is unrelated to the version, and I just have a case where Creator stops for some other reason. But how do I find that out?

              aha_1980A 1 Reply Last reply
              0
              • A Asperamanca

                That's what I do, and after upgrading from Creator 4.1.0 to 4.5.0 it no longer seems to work. Or the problem is unrelated to the version, and I just have a case where Creator stops for some other reason. But how do I find that out?

                aha_1980A Offline
                aha_1980A Offline
                aha_1980
                Lifetime Qt Champion
                wrote on last edited by
                #8

                @Asperamanca said in Creator doesn't "--keep-going":

                Or the problem is unrelated to the version, and I just have a case where Creator stops for some other reason. But how do I find that out?

                I guess Creator stops building once a make process exits with errorlevel != 0. I don't know if that was different in earlier releases, but in 4.5 I see "Dependencies" in the Project Settings (Project in the left bar). Maybe your problem is a result of this feature.

                I could imagine another checkbox "no dependencies between projects" there to continue building even if one project fails.

                Qt has to stay free or it will die.

                A 1 Reply Last reply
                1
                • aha_1980A aha_1980

                  @Asperamanca said in Creator doesn't "--keep-going":

                  Or the problem is unrelated to the version, and I just have a case where Creator stops for some other reason. But how do I find that out?

                  I guess Creator stops building once a make process exits with errorlevel != 0. I don't know if that was different in earlier releases, but in 4.5 I see "Dependencies" in the Project Settings (Project in the left bar). Maybe your problem is a result of this feature.

                  I could imagine another checkbox "no dependencies between projects" there to continue building even if one project fails.

                  A Offline
                  A Offline
                  Asperamanca
                  wrote on last edited by
                  #9

                  @aha_1980
                  Thanks for pointing that out. However, the project that stops the build has no dependencies set.

                  mrjjM 1 Reply Last reply
                  0
                  • A Asperamanca

                    @aha_1980
                    Thanks for pointing that out. However, the project that stops the build has no dependencies set.

                    mrjjM Offline
                    mrjjM Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on last edited by
                    #10

                    @Asperamanca

                    Hi
                    if not too much hassle, it would be great to test with the
                    older Creator to know if it then works again or still broken.

                    1 Reply Last reply
                    0
                    • aha_1980A Offline
                      aha_1980A Offline
                      aha_1980
                      Lifetime Qt Champion
                      wrote on last edited by aha_1980
                      #11

                      @Asperamanca said in Creator doesn't "--keep-going":

                      Thanks for pointing that out. However, the project that stops the build has no dependencies set.

                      Yes, but I guess Creator tracks the build success for each project to enable that function. As @mrjj said, please re-try with an older version.

                      Then you could file a suggestion on bugreports.qt.io - I simply guess you're the first one demanding this.

                      Edit: If you create a bugreport, then please provide a link here. Thanks

                      Qt has to stay free or it will die.

                      1 Reply Last reply
                      0
                      • A Offline
                        A Offline
                        Asperamanca
                        wrote on last edited by
                        #12

                        Well, the online installer is good at replacing the old Creator versions. But no matter, I can easily reproduce it using a couple of Qt samples, so I have raised it to Qt support. Thank you all for your inputs - makes me feel I haven't missed something too obvious, before writing a support ticket.

                        1 Reply Last reply
                        2
                        • A Offline
                          A Offline
                          Asperamanca
                          wrote on last edited by
                          #13

                          Here's the result: https://bugreports.qt.io/browse/QTCREATORBUG-19697
                          However, it's considered a suggestion, not a bug.

                          1 Reply Last reply
                          0
                          • H Offline
                            H Offline
                            harveyab
                            wrote on last edited by
                            #14

                            I also have multiple independent projects open with the same desire. If this once worked on a previous version of Qt, could it be elevated to BUG status? Did "--keep-going" used to do this?

                            1 Reply Last reply
                            0
                            • aha_1980A Offline
                              aha_1980A Offline
                              aha_1980
                              Lifetime Qt Champion
                              wrote on last edited by
                              #15

                              @harveyab: Have you unchecked Edit > Preferences > Build & Run > General > Build and Run > "Abort on error when building all projects"?

                              Qt has to stay free or it will die.

                              1 Reply Last reply
                              0

                              • Login

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