title: How to enable and disable qDebug() messages
body: <p>I disable the qDebug() messages by writing  </p>
  
  <pre><code>CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT
  </code></pre>
  
  <p>in the .pro file. This works fine. I would like to know if there is any way to enable qDebug() messages using the source code. I would like to send it as an argument to the application. Therefore by default I will have the qDebug() messages disabled, but with an argument stating to switch on the qDebug() messages I need the qDebug() enabled. Is it possible to do this?</p>
  
  <p>Any help is appreciated</p>