[Qt-qml] Possible bug in QDeclarativeImageProvider

Girish Ramakrishnan girish at forwardbias.in
Mon Jun 13 07:48:28 CEST 2011


This is a known problem. See http://bugreports.qt.nokia.com/browse/QTBUG-14900.

Girish

On Mon, Jun 13, 2011 at 10:30 AM, vineeth <nvineeth at gmail.com> wrote:
> Hi,
>   There is probably a bug in QDeclarativeImageProvider
>    I am using a URI something like "image://imgprovider/<idx1>/<idx2>" where
> idx1, idx2=0, 1, 2, ....
>    From what I have observed, the previous images are cached, and new image
> requests are not performed.
>    for ex: previously if I have requested the image with
> "image://imgprovider/0/0" and the next time I use this value, the
> requestImage() method is not called and the older image is used. Is it a bug
> or a expected caching behavior?
>    Either way, to get around this problem, I am using random values for idx1
> each time the image changes in the backend.
>
>  --vineeth
>
> _______________________________________________
> Qt-qml mailing list
> Qt-qml at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-qml
>
>


More information about the Qt-qml mailing list