Qt-interest Archive, November 2007
Get rid of -Wall (all warnings) in Makefile
Message 1 in thread
Linux: How do I edit a project.pro file to get rid of -Wall in the Makefile?
I tried QMAKE_CFLAGS -=-Wall but it didn't work.
--
[ signature omitted ]
Message 2 in thread
John Smith wrote:
> Linux: How do I edit a project.pro file to get rid of -Wall in the Makefile?
> I tried QMAKE_CFLAGS -=-Wall but it didn't work.
>
I believe it is:
CONFIG += warn_off
If you want to edit QMAKE_CFLAGS, you'll have to create your own makespec.
best,
Jeroen
--
[ signature omitted ]
Message 3 in thread
I think you want to modify QMAKE_CXXFLAGS instead.
Sent from my BlackBerry® wireless device
-----Original Message-----
From: "John Smith" <invalid@xxxxxxxxxxx>
Date: Fri, 2 Nov 2007 15:03:37
To:qt-interest@xxxxxxxxxxxxx
Subject: Get rid of -Wall (all warnings) in Makefile
Linux: How do I edit a project.pro file to get rid of -Wall in the Makefile?
I tried QMAKE_CFLAGS -=-Wall but it didn't work.
--
[ signature omitted ]