title: QWidget background-image fit
body: <p>I'm working with Qt 4.7 , I set a QWidget's background-image CSS an image from my qrc.</p>
  
  <p>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.</p>
  
  <p>Couldn't find a way to make the image fit the window. Any ideas ? 
  I don't mind doing it programmatically .</p>
  
  <p>Thanks</p>
  
  <p><strong>Solved:</strong> <a href="http://www.developer.nokia.com/Community/Wiki/Archived:Load,_Resize_image_and_set_background_image_in_Qt_application/widget" rel="nofollow">http://www.developer.nokia.com/Community/Wiki/Archived:Load,_Resize_image_and_set_background_image_in_Qt_application/widget</a></p>