[Qt-interest] Proposal: qmake shouldn't specify warning options when neither warn_on nor warn_off have been specified

Nikos Chantziaras realnc at arcor.de
Sun Apr 4 02:42:09 CEST 2010


Currently, qmake only understands warn_on and warn_off in CONFIG.  For 
warn_off, it uses a compiler option that completely disables all warning 
options.  warn_on on the other hand uses an option that enables all 
warnings.  There's no middle-ground, namely not using any 
warning-related compiler options and let the compiler only issue 
warnings that it deems serious enough to emit at its default warning level.

My proposal here is that if the project file doesn't specify warn_on or 
warn_off, then qmake should generate Makefiles that do not contain any 
warning-switches for the compiler.



More information about the Qt-interest-old mailing list