[Interest] Qt Creator Application Output

Prav pr12og2 at programist.ru
Wed Aug 5 15:31:46 CEST 2015


>You can use qDebug().noquote() to get the traditional behavior. For example:
>qDebug().noquote() << "Тест";
Thanks Nikita ... it works!

So finally ... for those who are interested:

The workaround to return qDebug() to usual behaviour is to change in qlogging.h line:
#define qDebug QMessageLogger(QT_MESSAGELOG_FILE, QT_MESSAGELOG_LINE, QT_MESSAGELOG_FUNC).debug
 to:
#define qDebug QMessageLogger(QT_MESSAGELOG_FILE, QT_MESSAGELOG_LINE, QT_MESSAGELOG_FUNC).debug().noquote

and all your code should work without modifications.

P.S.
And as soon as 5.5.1 will work the old way there is no need to make any at all :)




More information about the Interest mailing list