I would like to change the code in release mode. How to find the release mode in code and then changing the code accordingly?
I would like to change the code in release mode. How to find the release mode in code and then changing the code accordingly?
set a preprocessor directive "DEBUG" for debug-mode and "NDEBUG" for release code. in your code, you can do
Qt Code:
#ifdef DEBUG // debug code #endifTo copy to clipboard, switch view to plain text mode
Gokulnathvc (14th December 2011)
Bookmarks