Try This:
Qt Code:
 setStyleSheet("background-image: url(:/bg.jpg)");To copy to clipboard, switch view to plain text mode
Make sure your images are available in the resource file with prefix "/".
Try This:
Qt Code:
 setStyleSheet("background-image: url(:/bg.jpg)");To copy to clipboard, switch view to plain text mode
Make sure your images are available in the resource file with prefix "/".
Heavy Metal Rules. For those about to rock, we salute you.
HIT THANKS IF I HELPED.
mrphunghuy (31st October 2013)
Bookmarks