Hi,
The Image::pixmap property has been removed as it can cause memory issues, as
noted in http://bugreports.qt.nokia.com/browse/QTBUG-11980.
To improve support for pixmap loading (for both Image and BorderImage), we have
extended QDeclarativeImageProvider to enable it to serve QPIxmaps as well as
QImages. QPixmaps are automatically loaded synchronously, whereas QImages can
be loaded either synchronously or asynchronously.
For example, something like this:
Image { source: "image://someprovider/someimage.png" }
causes the QML engine to look up the image provider named "someprovider" and
request it to load a QPixmap or QImage for the identifier "someimage.png".
More details can be found in the revised QDeclarativeImageProvider
documentation and the example in
examples/declarative/cppextensions/imageprovider.
regards,
Bea
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-qml