(Solved)QString print strange value
haris123 last edited by haris123
I am trying to print the QString using qDebug() but I am getting strange value printed.
QString c = QString("command"); qDebug()<<c;
on the console, what could be the reason.
Do u have only this qdebug in your qt program ? Check this print is coming from previous qdebug. Which platform?
@haris123 I would delete the "command" string in the editor and enter it again. You probably entered a Unicode character accidentally (\u200 is something like a space as far as I know).
haris123 last edited by
Yes in that case it's work when I delete the string and type again, thanks for the feedback.