Results 1 to 2 of 2

Thread: Difference between "CONFIG(debug, debug|release)" and "Debug:" in .pro

  1. #1
    Join Date
    Sep 2012
    Posts
    13
    Thanks
    3
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Question Difference between "CONFIG(debug, debug|release)" and "Debug:" in .pro

    Hi Guys!

    Can someone help me regarding this.

    What's the main difference in using:

    CONFIG(debug, debug|release){
    ...
    ...
    }


    CONFIG(release, debug|release){
    ...
    ...
    }

    and

    Debug: ...
    Debug: ...

    Release: ...
    Release: ...


    What will be the effect of both method in the project?

    Thanks in advance guys!

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

    Default Re: Difference between "CONFIG(debug, debug|release)" and "Debug:" in .pro

    Add CONFIG += debug_and_release to your pro file and see what the result is (you can use message() to see which scopes were triggered).
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 0
    Last Post: 21st February 2010, 19:09
  2. Replies: 3
    Last Post: 15th February 2010, 18:27
  3. Replies: 0
    Last Post: 15th November 2009, 10:40
  4. Replies: 3
    Last Post: 29th August 2009, 23:24
  5. QPluginLoader fails when using "debug" config
    By paradiza in forum Qt Programming
    Replies: 22
    Last Post: 14th February 2007, 07:59

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.