Results 1 to 9 of 9

Thread: A question about compiling in debug mode and in release mode

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2006
    Location
    The Netherlands
    Posts
    300
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11
    Thanks
    9
    Thanked 29 Times in 29 Posts

    Default Re: A question about compiling in debug mode and in release mode

    Not sure about the error. But there is one more difference between debug mode and release mode for compilers. Debug mode generally compiles faster and runs slower than release mode.
    "The strength of a civilization is not measured by its ability to wage wars, but rather by its ability to prevent them." - Gene Roddenberry

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: A question about compiling in debug mode and in release mode

    Quote Originally Posted by Michiel View Post
    Debug mode generally compiles faster and runs slower than release mode.
    It's because release mode does by default much more optimisations. That's why it is called release - when you are releasing a project, you compile in release mode. Contrary to that you compile in debug mode when you debug.

    @Yogibear: You don't have debug libraries built (the "d" at the end of the library name marks it as debug).

Similar Threads

  1. Difference between Debug and Release Mode
    By sunil.thaha in forum Qt Programming
    Replies: 2
    Last Post: 5th May 2013, 13:31
  2. qodbc driver not loaded error in release mode
    By mandal in forum Qt Programming
    Replies: 1
    Last Post: 14th November 2006, 09:42
  3. Error compiling Qt 4.0 in Debug mode
    By Doug Broadwell in forum Installation and Deployment
    Replies: 1
    Last Post: 11th October 2006, 08:15

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.