How can i put an image on a scenerect? The image wouldn't be repeated to cover the entire canvas, but, if smaller, the image would be enlarged.

I use
setBackgroundBrush(QImage(fileImage));

but the image, if smaller, is repeated.........