Does anyone know an officially supported way to include debug-build only code in Qt? For example:
#ifdef QT_DEBUG // do something #endif
Basica
For check debug mode:
#ifdef QT_DEBUG //Some codes #endif
For check release mode:
#ifndef QT_DEBUG //<== Please note... if not defined //Some codes #endif