How to make a define that works only in Release build in Qt Creator?
In my .pro file I have added:
DEFINES += QT_NO_DEBUG_OUTPUT
But even though, I am not seing qDebug() prints anymore in both Debug and Release build. What is the proper way of defininf this only for one build? I would apreciate all help.
CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT
This helped thank you,