Results 1 to 3 of 3

Thread: add a compiler flag

  1. #1
    Join Date
    Mar 2010
    Posts
    107
    Thanks
    22
    Qt products
    Qt4
    Platforms
    Windows

    Default add a compiler flag

    Hi All
    Is it possible to set something in a .pro file such that the compiler flags in the generated makefile can be amended?
    Graham

  2. #2
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: add a compiler flag

    Is this what you are looking for?

  3. The following user says thank you to Zlatomir for this useful post:

    GrahamLabdon (18th April 2011)

  4. #3
    Join Date
    Mar 2010
    Posts
    107
    Thanks
    22
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: add a compiler flag

    yes Thanks

Similar Threads

  1. msvc Compiler or mingw compiler
    By Ashutosh2k1 in forum Qt Programming
    Replies: 3
    Last Post: 14th February 2011, 08:33
  2. Strange compiler behaviour (compiler passes wrong argument)
    By SasaVilic in forum General Programming
    Replies: 2
    Last Post: 2nd November 2010, 11:36
  3. How can we add -O2 flag into .pro file?
    By learning_qt in forum Qt Programming
    Replies: 3
    Last Post: 4th November 2009, 08:15
  4. how to set WDestructiveClose Flag
    By amitkhanna in forum Newbie
    Replies: 4
    Last Post: 17th June 2007, 16:20
  5. using Q::desktop flag
    By nupul in forum Newbie
    Replies: 1
    Last Post: 30th April 2006, 14:58

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.