°C displayed as °C
General and Desktop
11
Posts
4
Posters
6.2k
Views
1
Watching
-
try this:
@ui->label_5->setText(tr("°C"));@ -
See "here":http://qt-project.org/doc/qt-4.8/qobject.html#trUtf8 ...
-
Maybe you are saving your files with a wrong enconding? Check it at Options -> Text Editor
-
Please add [SOLVED] to topic subject.
-
should look like this:
@
this->setLblText2(trUtf8("°C"));void MLineEdit::setLblText2(QString s )
{
label2->setText(s);
}
@