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?
Forum Updated to NodeBB v4.3 + New Features

Does qmake has VERBOSE setting?

Scheduled Pinned Locked Moved Unsolved General and Desktop
10 Posts 2 Posters 1.8k 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.
  • JoeCFDJ Offline
    JoeCFDJ Offline
    JoeCFD
    wrote on last edited by JoeCFD
    #1

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

    1 Reply Last reply
    0
    • Christian EhrlicherC Online
      Christian EhrlicherC Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on 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

      JoeCFDJ 1 Reply Last reply
      1
      • Christian EhrlicherC Christian Ehrlicher
        > 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.

        JoeCFDJ Offline
        JoeCFDJ Offline
        JoeCFD
        wrote on 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.

        Christian EhrlicherC 1 Reply Last reply
        0
        • JoeCFDJ JoeCFD

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

          Christian EhrlicherC Online
          Christian EhrlicherC Online
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on 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

          JoeCFDJ 1 Reply Last reply
          0
          • Christian EhrlicherC Christian Ehrlicher

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

            JoeCFDJ Offline
            JoeCFDJ Offline
            JoeCFD
            wrote on 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.

            Christian EhrlicherC 1 Reply Last reply
            0
            • JoeCFDJ JoeCFD

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

              Christian EhrlicherC Online
              Christian EhrlicherC Online
              Christian Ehrlicher
              Lifetime Qt Champion
              wrote on 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

              JoeCFDJ 1 Reply Last reply
              0
              • Christian EhrlicherC Christian Ehrlicher

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

                JoeCFDJ Offline
                JoeCFDJ Offline
                JoeCFD
                wrote on 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.

                Christian EhrlicherC 1 Reply Last reply
                0
                • JoeCFDJ JoeCFD

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

                  Christian EhrlicherC Online
                  Christian EhrlicherC Online
                  Christian Ehrlicher
                  Lifetime Qt Champion
                  wrote on 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

                  JoeCFDJ 1 Reply Last reply
                  0
                  • Christian EhrlicherC Christian Ehrlicher

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

                    JoeCFDJ Offline
                    JoeCFDJ Offline
                    JoeCFD
                    wrote on last edited by
                    #9

                    @Christian-Ehrlicher are you using cmake or qmake?

                    Christian EhrlicherC 1 Reply Last reply
                    0
                    • JoeCFDJ JoeCFD

                      @Christian-Ehrlicher are you using cmake or qmake?

                      Christian EhrlicherC Online
                      Christian EhrlicherC Online
                      Christian Ehrlicher
                      Lifetime Qt Champion
                      wrote on 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

                      • Login

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