[Qt-creator] Fwd: Where to input compiler options in Qt creator

Sam Sun wxdl.jx at gmail.com
Wed Nov 17 04:14:47 CET 2010


Andre;

I very appreciate your reply.

What I am trying to do with Qt creator is to build ITK libraries via cmake.
Previously I use Code:Blocks that contains lots of compilation options for
debug/release modes. I am wondering if Qt creator has such function or the
options have to be added in cMakeCache.txt after running cmake.

BTW: Could you please let me know about which version of Qt Creator can make
cmake built-in like qmake?


Regards,
Sam

On Sat, Nov 06, 2010 at 09:31:55PM -0400, Sam Sun wrote:
>* Could you please let me know where to put compiler options in Qt creator
*>* such as -g, -o, etc? thank you.
*
One possibility is to have a line

   QMAKE_CXXFLAGS += -g

or such in your .pro file.

-o does not seem to make much sense, though.
What exactly do you want to achieve?

Andre'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20101116/f2fa7def/attachment.html 


More information about the Qt-creator-old mailing list