I have put into my code a lot of strings like this:

Qt Code:
  1. qDebug ( "My value is: %s\n", Value.ascii() );
To copy to clipboard, switch view to plain text mode 

I'd like to view this messages only if I compile my application with debug enabled but I see it with any project configuration.
My ".pro" file contains now:

Qt Code:
  1. CONFIG += qt warn_off release
To copy to clipboard, switch view to plain text mode 

How con I get rid of qDebug messages in my compiled QT application?

Thanks,
the_bis