QString a = "test\n";
qDebug() << a;
output of programm is "test\n"
Why it does not interptret correctly? I cannot write after every QString varaible with a \n in it toLatin1().data() to get an correct output.
Is there no simple solution in Qt?
thank you
Bookmarks