Try "!release" insted of "debug".
Another problem: I wanted to disable debuging output by adding the define QT_NO_DEBUG_OUTPUT to the release scope. But then my app won't compile anymore as I used qDebug() << ...; often instead of qDebug("...", ...);. If I had known this in advance... I had thought that all qDebug("...", ...) and qDebug << ... calls would not be compiled in when not compiling the project in debug mode... and disabling does not work as expected...[/quote]
Does the following application compile and work with the define set?
Qt Code:
#include <QtDebug> int main(){ qDebug() << "xyz"; return 0; }To copy to clipboard, switch view to plain text mode






Reply With Quote
Bookmarks