[SOLVED] qDebug escape character ...
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 ...
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";
@raoulh Thank you ...