[Interest] White background of QLabel

igor.mironchik at gmail.com igor.mironchik at gmail.com
Thu Feb 13 07:56:34 CET 2014


How to set white background to the QLabel?

I use the next code to do it:

QLabel * label = new QLabel( this ); 
label->setBackgroundRole( QPalette::Base );

But it give no effect. What I should do else? Thanks.

More information about the Interest mailing list