HTML tags in QStrings not working in Android
-
Ok, I mean, for example, I have a
QMessageBox::warning(this,
tr("New Game"), QString("<p align='center'>%1</p>"
"<p align='center'>%2</p>")
.arg(tr("An unfinished game is in progress."))
.arg(tr("Do you want to start a new game?")),
QMessageBox::Yes | QMessageBox::No);in my program. Then on android the string appears as
New Game <p align='center'>An unfinished game is in progress.</p>
<p align='center'>Do you want to start a new game?</p>with all the html tags.
-
This is a reported bug: https://bugreports.qt-project.org/browse/QTBUG-34772
-
[quote author="tomasl" date="1390914873"]This is a reported bug: https://bugreports.qt-project.org/browse/QTBUG-34772[/quote]
I didn't see your post. Thanks