mercredi 18 mars 2015

html tags are not working in Qt


I'm learning how to use html and css in Qt programming and I want to change the text of a pushButton using this :



ui->pushButton->setText("<b>chert</b>");


But it doesn't work correctly. html tags have no effect on it. How can I make it work?!


Thanks :)




Aucun commentaire:

Enregistrer un commentaire