I try to set the background of a widget to an image as indicated in Assistant in the
Porting to QT4 of setPaletteBackgroundPixmap :
Qt Code:
QPalette palette; widget->setPalette(palette); setCentralWidget(widget);To copy to clipboard, switch view to plain text mode
I played around with many combinations of the above code, but nothing will show my
image. The background remains unchanged...
Bookmarks