Hi, I'm using this code:
Qt Code:
if(img.isNull()) { printf("Failed to open image\n"); return NULL; }To copy to clipboard, switch view to plain text mode
but it seems that QImage doesn't delete the buffer when destroyed (at the end of the method where this block of code is in). I don't use the QImage to store my images (I convert to another structure)... so, I can't free this buffer memory and the system becomes with a lot of buffer memory without usage (I use a huge amount of images). Any idea? I'd like to get rid of this buffer.
Thanks, Rafael
Bookmarks