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:
  1. #ifdef IS_DEBUG
  2. // do something
  3. #else
  4. // don't do it
  5. #endif
To copy to clipboard, switch view to plain text mode