Title: Qt project file: Multiple platforms with debug and release
Tags: c++;qt
Question: With my project, I'd like to support Windows (vc12) and Linux (gcc). The problem is that there are different paths and libraries for each build mode.
#shared all
# unix shared
debug
# unix debug
release
# unix release
# win shared
debug
# win debug
release
# win release
My experience so far, that the unix/win32 works, but the debug/release is not.
Is there a way to achive this functionality?

Here is the accepted answer: CONFIG(release, debug|release) {
#code for release mode
CONFIG(debug, debug|release) {
#code for debug mode


{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 1, 'CommentCount': 0, 'ContentLicense': 'CC BY-SA 3.0', 'CreationDate': '2016:00:07/05/16', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<c++><qt>', 'Title': 'Qt project file: Multiple platforms with debug and release', 'ViewCount': 41, 'id': 38199556, 'user_AboutMe': None, 'user_AccountId': 3098140.0, 'user_DisplayName': 'András Kovács', 'user_Reputation': 839.0, 'user_Views': 139.0, 'user_id': 2622936.0}}