[SOLVED] qDebug escape character ...
ttuna last edited by ttuna
I've just installed Qt 5.5.0 (-finally) and run into the problem that
qDebug() << "\nHello";now generates the output "\nHello" instead of a newline "Hello" (as it worked with Qt 5.4).
Any idea how it comes?
Best regards ...
raoulh last edited by
It seems that it was an intended change. Check that bug for details: https://bugreports.qt.io/browse/QTBUG-47316
One workaround would be to use:
qDebug().noquote() << "\nHello";
ttuna last edited by
@raoulh Thank you ...