On 18 May 2014 21:22, Durango wrote:
> The image damage is what I would expect if the pixmap was pointing to free
> memory. But QPixmapCache::insert is supposed to make a copy of the pixels,
> right?
>
>
No, QPixmap is implicitly shared, so it just keeps an instance of the
QPixmap it caches. I'd
I’m having some difficulty with getting QPixmapCache to work for me. In my case
I read images in a proprietary format, convert to QPixmap, then insert into the
cache. When I later get a cache hit and retrieve the QPixmap, I get a damaged
image, although of the right size and pixel format.
The i