I am using Qt framework in Linux and a complete beginner.
When I print a simple message like:
qDebug() << "Hello World";
In the Console the output is Hello World
.
But if I print the same message like:
QString str = "Hello World";
qDebug() << str;
In the Console the output is "Hello World"
,(Notice the quotes), How to get the same output using QString
?