[Qt-interest] qmake ignores QMAKE_CXXFLAGS

Nikos Chantziaras realnc at arcor.de
Tue Oct 4 11:07:27 CEST 2011


On 10/04/2011 11:50 AM, Schimkowitsch Robert wrote:
> Hi,
>
> I am trying to configure my warning output for MinGW.
>
> I've found QMAKE_CXXFLAGS in the qmake documentation, but adding it to
> my .pro-file does not seem to change anything.
>
> To test it, I've added
> QMAKE_CXXFLAGS += -w
> to a .pro file, which should suppress warnings.
> It still generates warnings when building, plus I can't see the compile
> flag in the "compile output". I've manually re-ran qmake witin Creator.
>
> What might I have done wrong?

CONFIG += warn_off



More information about the Qt-interest-old mailing list