I'm trying to find a way to change the warning level (I believe the default is 3 and I'd like to change it to 4) of my project developped using Qt Creator (1.3.0) and MinGW.
Is it possible ?
I'm trying to find a way to change the warning level (I believe the default is 3 and I'd like to change it to 4) of my project developped using Qt Creator (1.3.0) and MinGW.
Is it possible ?
See the qmake manual.
I also have Qt Creator 1.3.0 and MinGW and notice that the
QMAKE_CXXFLAGS_WARN_ON
variable appears to be set to -Wall. There are a number of QMAKE_CXXFLAGS... variables. These can be set/changed/adjusted in your *.pro file.
E.g. in myproject.pro
win32:QMAKE_CXX_FLAGS_WARN_ON += -Wextra