Hello, I believe that setting the source to "" will cause the image and any memory it's using to be freed up - I've had to do something similar myself recently.
Mark T -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Cornelius Hald Sent: 10 January 2012 16:21 To: [email protected] Subject: [Qt-qml] Image item and Symbian gfx memory Hi, I sometimes have the problem that instead of images I get black or transparent rectangles on Symbian. I've been told that this happens whenever the Symbian (shared) graphics memory is full. My question is what is the best way to free graphics memory? E.g. if a list delegate or a page contain images but they are currently not visible (either because covered by another page or because being of-screen) do those images still take gfx memory? If yes how can I prevent this? - Set visible to false? - Set source to ""? - Trigger garbage collector? - Something else or combinations? As I can't find any documentation about that some input would be highly appreciated. Thanks! Conny _______________________________________________ Qt-qml mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-qml _______________________________________________ Qt-qml mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-qml
