On Wed, Jan 23, 2013 at 1:18 AM,  <[email protected]> wrote:
>
> //requestImage
>
> How I can call this method using threads.
>
> _______________________________________________
> Development mailing list
> [email protected]
> http://lists.qt-project.org/mailman/listinfo/development

First, you should have posted this to the Qt interest list. This list
is for actual Qt development (upstream) not user side Qt development.

To answer your question, you don't. Not there at least.
You make an image provider using that class which you register in your
QML runtime. For more information, read
http://qt-project.org/doc/qt-4.8/qdeclarativeimageprovider.html
To make it async (aka non blocking in this case) call the QML Element
Image like so:

Image {
  asynchronous: true
}

link: http://qt-project.org/doc/qt-4.8/qml-image.html#asynchronous-prop

Cheers,
Mark
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to