PDA

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



iamDAMON
10th October 2012, 05:09
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!

wysota
10th October 2012, 09:46
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).