Hello,
is there and environment variable (automatically set) that I can check to find out if the program is running in release or debug mode?
I would like to do something like the code below, assuming there is and ENV variable (i.e. IS_DEBUG) that is set only when in debug mode.
Qt Code:
#ifdef IS_DEBUG // do something #else // don't do it #endifTo copy to clipboard, switch view to plain text mode
Bookmarks