I found the answer on Stackoverflow. Looks like the answer is to do this in the .pro file:
Qt Code:
CONFIG -= debug_and_release CONFIG( debug, debug|release ) { CONFIG -= release } else { CONFIG -= debug CONFIG += release }To copy to clipboard, switch view to plain text mode
This seems to work , but Yuk! Surely there must be a more elegant way?
Bookmarks