[Qt-interest] Memory mapped image files
Andreas Unger
andi.unger05 at gmail.com
Sat Nov 7 07:16:54 CET 2009
Hello all,
I have a device with limited RAM and my application, whose background image
changes many times in its lifetime, crashes often. It usually crashes when I
change the background image ten or more times consecutively. I'm trying to
figure out how I can resolve this problem. Right now I have a method that
receives a QString corresponding to the path of the image, and updates the
stylesheet of the main application window, which is a QGraphicsView. Does
anyone have some example code that shows how I can use a memory mapped image
file to set the background image for a QGraphicsView/QMainWindow? Will that
help?
Cheers,
Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091107/85be3675/attachment.html
More information about the Qt-interest-old
mailing list