[Solved] display speech mark in messagebox...help me please
hi,
usually, when i try to display a message in a pop up messagebox, i use:
QMessageBox::warning(this, "Warning", "Hello the world", QMessageBox::Ok);
this will show Hello the world in the message box.
however, what if i want to display Hello the "world" ? i wanna to show these two speech mark in the message. what should i do?
thanks in advance.
Re: display speech mark in messagebox...help me please
You have to escape them:
Code:
QString string
= "Hello \"world\"";
Greets
h0nki
Re: display speech mark in messagebox...help me please