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. Does qmake has VERBOSE setting?
QtWS25 Last Chance

Does qmake has VERBOSE setting?

Scheduled Pinned Locked Moved Unsolved General and Desktop
10 Posts 2 Posters 1.7k 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 Offline
    J Offline
    JoeCFD
    wrote on 27 Sept 2022, 18:38 last edited by JoeCFD
    #1

    It is an option in cmake build. Does qmake have the similar setting?

    1 Reply Last reply
    0
    • C Online
      C Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on 27 Sept 2022, 18:41 last edited by
      #2
      > qmake-qt5 --help
      
      ...
        -d             Increase debug level
      
      

      The more 'd' the more verbose. But it's more or less unreadable stuff - once tried to figure something out but failed miserably.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      J 1 Reply Last reply 27 Sept 2022, 18:59
      1
      • C Christian Ehrlicher
        27 Sept 2022, 18:41
        > qmake-qt5 --help
        
        ...
          -d             Increase debug level
        
        

        The more 'd' the more verbose. But it's more or less unreadable stuff - once tried to figure something out but failed miserably.

        J Offline
        J Offline
        JoeCFD
        wrote on 27 Sept 2022, 18:59 last edited by JoeCFD
        #3

        @Christian-Ehrlicher Thanks for your reply. This is for debug level.

        In CMake, the default output with VERBOSE=0 looks like this:
        [ 4%] Automatic MOC for target isplayer
        [ 4%] Built target isplayer_autogen
        [ 8%] Automatic RCC for resources/qml.qrc
        [ 12%] Automatic RCC for resources/images.qrc
        [ 41%] Building CXX object CMakeFiles/mmm.dir/src/main.cpp.o

        If I do make VERBOSE=1, the output is as follows:
        /usr/bin/c++ -dM -E -c /opt/thirdParties/cmake/share/cmake-3.23/Modules/CMakeCXXCompilerABI.cpp "-DBUILD_SERIES_NUMBER="1.0.0.1"" -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB ....

        More build info for each cpp file will be displayed.

        I would prefer to set VERBOSE=0 and have only error and warning messages for the build on the server. It seems qmake does not have it.
        make has silent option with -s. Then there is no output at all. That is not great either.

        C 1 Reply Last reply 27 Sept 2022, 19:12
        0
        • J JoeCFD
          27 Sept 2022, 18:59

          @Christian-Ehrlicher Thanks for your reply. This is for debug level.

          In CMake, the default output with VERBOSE=0 looks like this:
          [ 4%] Automatic MOC for target isplayer
          [ 4%] Built target isplayer_autogen
          [ 8%] Automatic RCC for resources/qml.qrc
          [ 12%] Automatic RCC for resources/images.qrc
          [ 41%] Building CXX object CMakeFiles/mmm.dir/src/main.cpp.o

          If I do make VERBOSE=1, the output is as follows:
          /usr/bin/c++ -dM -E -c /opt/thirdParties/cmake/share/cmake-3.23/Modules/CMakeCXXCompilerABI.cpp "-DBUILD_SERIES_NUMBER="1.0.0.1"" -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB ....

          More build info for each cpp file will be displayed.

          I would prefer to set VERBOSE=0 and have only error and warning messages for the build on the server. It seems qmake does not have it.
          make has silent option with -s. Then there is no output at all. That is not great either.

          C Online
          C Online
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on 27 Sept 2022, 19:12 last edited by
          #4

          @JoeCFD said in Does qmake has VERBOSE setting?:

          . It seems qmake does not have it.

          Now you're talking about the generated makefiles - neither qmake nor cmake are active here...

          Calling make without 'VERBOSE' is the normal output - if this is too much for you - don't know what to do here except - use a proper build server like e.g. jenkins with a plugin which correctly parses the errors and warnings.

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          J 1 Reply Last reply 27 Sept 2022, 19:15
          0
          • C Christian Ehrlicher
            27 Sept 2022, 19:12

            @JoeCFD said in Does qmake has VERBOSE setting?:

            . It seems qmake does not have it.

            Now you're talking about the generated makefiles - neither qmake nor cmake are active here...

            Calling make without 'VERBOSE' is the normal output - if this is too much for you - don't know what to do here except - use a proper build server like e.g. jenkins with a plugin which correctly parses the errors and warnings.

            J Offline
            J Offline
            JoeCFD
            wrote on 27 Sept 2022, 19:15 last edited by JoeCFD
            #5

            @Christian-Ehrlicher This is for Jenkins. I used to apply cmake for this. It is the first time that I am using qmake on Jenkins and simply do not like too much output. It seems VERBOSE is an option of cmake, but not qmake.

            C 1 Reply Last reply 27 Sept 2022, 19:36
            0
            • J JoeCFD
              27 Sept 2022, 19:15

              @Christian-Ehrlicher This is for Jenkins. I used to apply cmake for this. It is the first time that I am using qmake on Jenkins and simply do not like too much output. It seems VERBOSE is an option of cmake, but not qmake.

              C Online
              C Online
              Christian Ehrlicher
              Lifetime Qt Champion
              wrote on 27 Sept 2022, 19:36 last edited by
              #6

              @JoeCFD said in Does qmake has VERBOSE setting?:

              and simply do not like too much output.

              Who cares for the output - jenkins has enough parsers which parses the output and gives you nice overviews over your warnings.

              Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
              Visit the Qt Academy at https://academy.qt.io/catalog

              J 1 Reply Last reply 27 Sept 2022, 19:38
              0
              • C Christian Ehrlicher
                27 Sept 2022, 19:36

                @JoeCFD said in Does qmake has VERBOSE setting?:

                and simply do not like too much output.

                Who cares for the output - jenkins has enough parsers which parses the output and gives you nice overviews over your warnings.

                J Offline
                J Offline
                JoeCFD
                wrote on 27 Sept 2022, 19:38 last edited by JoeCFD
                #7

                @Christian-Ehrlicher I have many files. It is nicer to see only error and warning messages on the build page. Anyway, I may try to create cmake build.

                C 1 Reply Last reply 27 Sept 2022, 19:40
                0
                • J JoeCFD
                  27 Sept 2022, 19:38

                  @Christian-Ehrlicher I have many files. It is nicer to see only error and warning messages on the build page. Anyway, I may try to create cmake build.

                  C Online
                  C Online
                  Christian Ehrlicher
                  Lifetime Qt Champion
                  wrote on 27 Sept 2022, 19:40 last edited by
                  #8

                  @JoeCFD said in Does qmake has VERBOSE setting?:

                  I have many files

                  Don't understand this - I've thousands of files and get a nice overview over my warnings and errors without looking at the build output...

                  Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                  Visit the Qt Academy at https://academy.qt.io/catalog

                  J 1 Reply Last reply 27 Sept 2022, 19:46
                  0
                  • C Christian Ehrlicher
                    27 Sept 2022, 19:40

                    @JoeCFD said in Does qmake has VERBOSE setting?:

                    I have many files

                    Don't understand this - I've thousands of files and get a nice overview over my warnings and errors without looking at the build output...

                    J Offline
                    J Offline
                    JoeCFD
                    wrote on 27 Sept 2022, 19:46 last edited by
                    #9

                    @Christian-Ehrlicher are you using cmake or qmake?

                    C 1 Reply Last reply 28 Sept 2022, 14:00
                    0
                    • J JoeCFD
                      27 Sept 2022, 19:46

                      @Christian-Ehrlicher are you using cmake or qmake?

                      C Online
                      C Online
                      Christian Ehrlicher
                      Lifetime Qt Champion
                      wrote on 28 Sept 2022, 14:00 last edited by
                      #10

                      @JoeCFD said in Does qmake has VERBOSE setting?:

                      are you using cmake or qmake?

                      Doesn't matter, the parser just parses warnings and errors.

                      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                      Visit the Qt Academy at https://academy.qt.io/catalog

                      1 Reply Last reply
                      0

                      8/10

                      27 Sept 2022, 19:40

                      • Login

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