[Qt-qml] How to pass Image data from QML to C++ side?
Artem Marchenko
artem.marchenko at gmail.com
Mon Oct 3 17:13:55 CEST 2011
Hi All
My app is some kind of special flickr viewer and is nearly fully done in QML. I want to let user to be able to save some Images to the device. Right now I am passing the Image's URL to the C++ side and download the image using QNetworkManager.
That, however, means that in almost all cases C++ side is going to download the very same file already downloaded on QML side (by setting Image.source property).
Is there a way to avoid double download and pass the Image's data to C++ side to further saving as JPG or PNG (JPG is the original format if it matters).
Best regards,
Artem.
More information about the Qt-qml
mailing list