PDA

View Full Version : background-image problem



zgulser
16th July 2012, 07:35
Hi,

I can set the backgorund of the widget from the designer and see the background set when I run the ui from the designer. However, when I start the applciation from IDE, it doesn't appear.



QWidget#LogDialog{background-image:url(:/images/bg.png);}


I check the file path and it's correct. And widget can display any styles I gave from the designer but background-image. What coyuld be the problem?

ChrisW67
16th July 2012, 08:27
Options:

The path to the resource is incorrect
The image file is corrupt
There is no QWidget with the objectName() "LogDialog"
There is no PNG image format plugin available on the test system