HTML fails in Qt QLabel?

If you pass a QString which contains rich text in setText() parameter, the rich text is supposed to be rendered. If not, you can try to set the QLabel s textFormat to Qt::RichText.

If you pass a QString which contains rich text in setText() parameter, the rich text is supposed to be rendered. If not, you can try to set the QLabel's textFormat to Qt::RichText.

Krish I think I was not able to expose the idea as I want: Everything works, the label is displayed. However, when using rich text, looks like Qt creates a padding within the QLabel. – Wanderson Jun 30 at 18:38 @Wanderson: can you please post a screenshot?

– Donotalo Jul 1 at 3:49.

I just tried this code and it's working. #include #include int main(int argc, char *argv) { QApplication app(argc, argv); QLabel *label = new QLabel(""); label->show(); return app.exec(); }.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions