Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Newest QTCreator (4.10.0) does not execute all build steps anymore when building through context menu
Forum Update on Monday, May 27th 2025

Newest QTCreator (4.10.0) does not execute all build steps anymore when building through context menu

Scheduled Pinned Locked Moved Solved General and Desktop
11 Posts 5 Posters 637 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.
  • D Offline
    D Offline
    devjb
    wrote on 12 Sept 2019, 10:04 last edited by devjb
    #1

    In my Qmake project where I develop a set of shared libraries, I used to right click on the corresponding subdir and issue a build or rebuild from there.

    QTCreator then used to perform all my build steps that I configured for the current configuration. Usually

    • qmake
    • make
    • make install

    Now with the latest release, that I installed yesterday, when I build that way from the context menu, it only runs

    • qmake
    • make

    When I hit the build button in the lower left corner of the IDE however, it executes all build steps but of course for the whole project, not only for the subdir project.

    Any ideas what I am doing wrong and how I get the context menu build entry to execute my install step again?

    Thanks

    A J 2 Replies Last reply 12 Sept 2019, 11:23
    0
    • D devjb
      12 Sept 2019, 10:04

      In my Qmake project where I develop a set of shared libraries, I used to right click on the corresponding subdir and issue a build or rebuild from there.

      QTCreator then used to perform all my build steps that I configured for the current configuration. Usually

      • qmake
      • make
      • make install

      Now with the latest release, that I installed yesterday, when I build that way from the context menu, it only runs

      • qmake
      • make

      When I hit the build button in the lower left corner of the IDE however, it executes all build steps but of course for the whole project, not only for the subdir project.

      Any ideas what I am doing wrong and how I get the context menu build entry to execute my install step again?

      Thanks

      A Offline
      A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on 12 Sept 2019, 11:23 last edited by
      #2

      Hi @devjb,

      So do I understand it correctly, that

      • building from the subproject context menu only runs qmake and make
      • building with the hammer or Ctrl+B runs qmake, make and make install?

      Also, can you confirm that with latest release you mean 4.10.0?

      Qt has to stay free or it will die.

      1 Reply Last reply
      0
      • D Offline
        D Offline
        devjb
        wrote on 12 Sept 2019, 11:55 last edited by devjb 9 Dec 2019, 11:57
        #3

        Correct!

        4.10., Installed it yesterday.

        I am referring to the Windows build. I did not try it on any of my linuxes so far.

        A 1 Reply Last reply 12 Sept 2019, 12:28
        0
        • D devjb
          12 Sept 2019, 11:55

          Correct!

          4.10., Installed it yesterday.

          I am referring to the Windows build. I did not try it on any of my linuxes so far.

          A Offline
          A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on 12 Sept 2019, 12:28 last edited by
          #4

          Hi @devjb,

          I suggest you bring this topic up to the Qt Creator mailing list or directly create a report at bugreports.qt.io (In that case - please post a link here so others can follow).

          For the bugreport it would be best to attach a minimal example to reproduce the problem - makes fixing the bug so much easier.

          Regards

          Qt has to stay free or it will die.

          1 Reply Last reply
          0
          • D devjb
            12 Sept 2019, 10:04

            In my Qmake project where I develop a set of shared libraries, I used to right click on the corresponding subdir and issue a build or rebuild from there.

            QTCreator then used to perform all my build steps that I configured for the current configuration. Usually

            • qmake
            • make
            • make install

            Now with the latest release, that I installed yesterday, when I build that way from the context menu, it only runs

            • qmake
            • make

            When I hit the build button in the lower left corner of the IDE however, it executes all build steps but of course for the whole project, not only for the subdir project.

            Any ideas what I am doing wrong and how I get the context menu build entry to execute my install step again?

            Thanks

            J Online
            J Online
            JonB
            wrote on 12 Sept 2019, 13:00 last edited by
            #5

            @devjb
            I would check your project files for what exactly is supposed to issue the final make install to see why it is not being performed. Something may have changed in the environment/installation which affects it?

            1 Reply Last reply
            0
            • D Offline
              D Offline
              devjb
              wrote on 12 Sept 2019, 14:33 last edited by
              #6

              I am not sure what you mean by "what exactly is supposed to issue the final make install". I defined an additional build step after the default make step which runs make install. Nothing more. I will issue a bug report later today with a minimal example and link it here.

              1 Reply Last reply
              1
              • S Offline
                S Offline
                stephanD23B9
                wrote on 16 Sept 2019, 12:05 last edited by
                #7

                @devjb I have encountered the same issue today with qtcreator version 4.10.
                Did you already created a bug report?

                I have noticed that only "make build steps" are affected, but not the "custom build steps". Also the additional build steps are only skipped if I launch the build on a sub-project. If I launch the build process for the entiere top-level-project all build steps are called for each sub-projects (i.e. 1st: make, 2nd: make install).

                1 Reply Last reply
                1
                • D Offline
                  D Offline
                  devjb
                  wrote on 16 Sept 2019, 12:18 last edited by devjb
                  #8

                  I created a corresponding issue:

                  https://bugreports.qt.io/browse/QTCREATORBUG-22956

                  Thank you for the hint with the custom step instead of make step. Indeed, a "custom step" will work.

                  A 1 Reply Last reply 16 Sept 2019, 12:41
                  1
                  • D devjb
                    16 Sept 2019, 12:18

                    I created a corresponding issue:

                    https://bugreports.qt.io/browse/QTCREATORBUG-22956

                    Thank you for the hint with the custom step instead of make step. Indeed, a "custom step" will work.

                    A Offline
                    A Offline
                    aha_1980
                    Lifetime Qt Champion
                    wrote on 16 Sept 2019, 12:41 last edited by
                    #9

                    Hi @devjb,

                    thanks for the report and the example project.

                    I have two comments for that:

                    1. Please don't share the .pro.user file. It is only thought to be used on your single machine.
                    2. Please don't use CONFIG+=ordered, please refer to https://blog.rburchell.com/2013/10/every-time-you-configordered-kitten-dies.html for more information

                    Regards

                    Qt has to stay free or it will die.

                    1 Reply Last reply
                    1
                    • M Offline
                      M Offline
                      majorpr13
                      wrote on 24 Oct 2019, 18:20 last edited by
                      #10

                      I have a similar issue from the latest stable release within ubuntu. I desire to build the subprojects and execute the subsequent make steps. Has there been a fix for this?

                      A 1 Reply Last reply 24 Oct 2019, 18:29
                      0
                      • M majorpr13
                        24 Oct 2019, 18:20

                        I have a similar issue from the latest stable release within ubuntu. I desire to build the subprojects and execute the subsequent make steps. Has there been a fix for this?

                        A Offline
                        A Offline
                        aha_1980
                        Lifetime Qt Champion
                        wrote on 24 Oct 2019, 18:29 last edited by
                        #11

                        Hi @majorpr13

                        not yet, please see QTCREATORBUG-22956 for the discussion (and maybe comment there).

                        Regards

                        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