I have a class derived from QGraphicsSvgItem where I implement boundingRect as a function of the sceneRect()'s width and height. I want the SVG graphic to scale to fill the boundingRect, but I can't seem to get the trick. How could I cause the SVG graphic (which is smaller than the boundingRect) to fill the boundingRect (keeping its original aspect)?

I know you can scale() it, but I'm not sure how I'd discover how *much* to scale it, if that's even the right approach.

Thanks.