This is really a qmake question, since it's qmake that controls this.

In your .pro file, use something like:
QMAKE_LFLAGS -= -O2
QMAKE_LFLAGS += -O3

/s/ Adam

On Sat, Dec 19, 2009 at 6:38 PM, Paul Smith <phh...@gmail.com> wrote:
> Thanks, Adam. I was thinking about the option -O3. How can one force
> qt-creator to use -O3?
>
> Paul
>
>
> On Sun, Dec 20, 2009 at 12:31 AM, Coda Highland <c...@bobandgeorge.com> wrote:
>> On Linux, it uses -O2 by default in release mode if I recall
>> correctly, so it already is.
>>
>> /s/ Adam
>>
>> On Sat, Dec 19, 2009 at 5:46 PM, Paul Smith <phh...@gmail.com> wrote:
>>> Dear All,
>>>
>>> I am new to qt-creator, and I am using it mainly to write my C++
>>> programs on a Linux machine (Fedora 12). Basically, my projects are
>>> "Empty Qt4" ones.
>>>
>>> My question is: how can one configure qt-creator for optimizing for
>>> speed the C++ programs edited with qt-creator?
>>>
>>> Thanks in advance,
>>>
>>> Paul
>>> _______________________________________________
>>> Qt-creator mailing list
>>> Qt-creator@trolltech.com
>>> http://lists.trolltech.com/mailman/listinfo/qt-creator
>>>
>> _______________________________________________
>> Qt-creator mailing list
>> Qt-creator@trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-creator
>>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator@trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
_______________________________________________
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to