Results 1 to 6 of 6

Thread: MINGW: Add special linker options

  1. #1
    Join Date
    Oct 2009
    Posts
    70
    Thanks
    2
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default MINGW: Add special linker options

    How to add some special linker options like -s0 -s1 and so on... ?

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: MINGW: Add special linker options

    In qmake?
    QMAKE_CFLAGS_...
    and
    QMAKE_CXXFLAGS_...

    I think

  3. #3
    Join Date
    Oct 2009
    Posts
    70
    Thanks
    2
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: MINGW: Add special linker options

    Through settings or edit makefile?

  4. #4
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: MINGW: Add special linker options

    Through editing your .pro file

  5. #5
    Join Date
    Oct 2009
    Posts
    70
    Thanks
    2
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: MINGW: Add special linker options

    I try to strip file size through compilation optimalization...In MINGW it is: -s0 ... -s6, I don't know how is it in G++...

  6. #6
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: MINGW: Add special linker options

    '-Os' optimises for size

Similar Threads

  1. linker errors from MinGW 4.4.0 for Qt 4.6.2
    By planetLars in forum Qt Tools
    Replies: 1
    Last Post: 15th April 2010, 20:30
  2. Advanced PKG Options [S60]
    By ManuMies in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 30th November 2009, 11:52
  3. QFileDialog options
    By The Storm in forum Qt Programming
    Replies: 5
    Last Post: 22nd December 2007, 11:22
  4. QTextEdit and some options
    By troorl_ua in forum Qt Programming
    Replies: 3
    Last Post: 29th June 2007, 22:03
  5. Zoom Options
    By Kapil in forum Qt Programming
    Replies: 2
    Last Post: 9th March 2006, 11:19

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
  •  
Qt is a trademark of The Qt Company.