Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 4

Qt-interest Archive, January 2007
Compiler Flags


Message 1 in thread

Hi!

Is there a way to state in the .pro-File to use compiler options like
-o3 for optimization?

thanks and cheers, chris

--
 [ signature omitted ] 

Message 2 in thread

On Wednesday 24 January 2007 09:58, Christian Konrad wrote:
> Hi!
>
> Is there a way to state in the .pro-File to use compiler options like
> -o3 for optimization?

Try:

QMAKE_CXXFLAGS_RELEASE += -O3

There are a few variants on that theme.

--
 [ signature omitted ]