Disable qDebug on release?

I have a number of apps where debug output is really nasty (think html page nasty). To be on the safe side I started using:

    CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT
    CONFIG(release, debug|release):DEFINES += QT_NO_WARNING_OUTPUT

In .pro files. but I’m not sure that’s really needed.

Of course, reading How can i toggle debug output *at runtime*? makes me think it’s not such a bad idea to configure it in app? Default no output but …