title: Qt 4.8.5 QGraphicsView::fitInView fails to fit exactly
body: <p>I Have a problem trying to fit my content (stretch) of a scene into my QDeclarativeView. I load a QML file the common way. I overrode the showEvent and resizeEvent method with the code below:</p>
  
  <pre><code>QGraphicsItem* rootItem = this-&gt;scene()-&gt;items.at(0);
  QRectF rootRect = rootItem-&gt;sceneBoundingRect(); // it gives me a QRectF(0,0,1920,1080)
  this-&gt;fitInView(rootRect, Qt::IgnoreAspectRatio); // Aspect doesn't matters.
  </code></pre>
  
  <p>The problem is that it keeps showing a little white border (almost 4 pixels) around the content. I've tested in 1920x1080, 1920x1200 and 1440x900 and all those resolutions on my desktop shows the content with the same problem. Even out of fullscreen mode it keeps the little white border.</p>
  
  <p>Just to make sure it was nothing from the content, I have set the view's background brush to black and the white border became black (in other words, the content is being scaled down too much to fit in view).</p>
  
  <p>Subtracting values from rectangle hardcoding is not an option once it's varying the background portion depending on the content size. (It should adapt dynamically).</p>
  
  <p>Any suggestions?</p>