I'm working with Qt 4.7 , I set a QWidget's background-image CSS an image from my qrc.
The problem is the image is High res , and only the upper left part of it is showing , I can't get it to scale down to fit. In CSS3 I saw a "background-size : contain" property but I fear it doesn't work in Qt 4.7.
Couldn't find a way to make the image fit the window. Any ideas ? I don't mind doing it programmatically .
Thanks
Solved: http://www.developer.nokia.com/Community/Wiki/Archived:Load,_Resize_image_and_set_background_image_in_Qt_application/widget