Does qmake has VERBOSE setting?
-
> 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.
-
> 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.
@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.oIf 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-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.oIf 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.@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.
-
@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.
@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-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.
@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.
-
@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.
@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-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.
@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...
-
@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...
@Christian-Ehrlicher are you using cmake or qmake?
-
@Christian-Ehrlicher are you using cmake or qmake?
@JoeCFD said in Does qmake has VERBOSE setting?:
are you using cmake or qmake?
Doesn't matter, the parser just parses warnings and errors.