Results 1 to 6 of 6

Thread: Release libraries bigger than debug libraries

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Release libraries bigger than debug libraries

    Just for comparison, this is what an out-of-the-box Qt 4.8.4 on Linux does for a basic program in release mode:
    Qt Code:
    1. DEFINES = -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
    2. CFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
    3. CXXFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
    To copy to clipboard, switch view to plain text mode 
    and debug:
    Qt Code:
    1. DEFINES = -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
    2. CFLAGS = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
    3. CXXFLAGS = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
    To copy to clipboard, switch view to plain text mode 
    You need to find out where all the other cruft in the CXXFLAGS is coming from.

  2. The following user says thank you to ChrisW67 for this useful post:

    JPNaude (4th April 2013)

Similar Threads

  1. Setting up Debug / Release Qt Libraries on Linux
    By gmat4321 in forum Installation and Deployment
    Replies: 3
    Last Post: 8th September 2011, 05:22
  2. Debug libraries
    By enno in forum Installation and Deployment
    Replies: 3
    Last Post: 9th February 2011, 17:18
  3. Replies: 3
    Last Post: 20th March 2008, 14:26
  4. Libraries in debug mode ?
    By SteM in forum Installation and Deployment
    Replies: 5
    Last Post: 8th August 2007, 10:28
  5. Replies: 11
    Last Post: 22nd March 2006, 19:06

Tags for this Thread

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.