does QPixmap::ShareMode have anything to do with this. It says on x11, you have to explicitly delete the pixmap handle. how would one use it?
also, not related to leak, but I've found QImageReader to be more efficient in terms of memory footprint, you might cross check.. below from qt docs:
@
QImageReader is a specialized class which gives you more control when reading images. For example,
you can read an image into a specific size by calling setScaledSize(), and you can select a clip rect,
effectively loading only parts of an image, by calling setClipRect(). Depending on the underlying support
in the image format, this can save memory and speed up loading of images
@