[Qt-qml] Image Reload

Michael Dippold mike at dippold.com
Thu Aug 5 20:09:27 CEST 2010


I am using the qml-image element for displaying images accessed over a
network.  If an image fails for whatever reason I would like to be
able to request the image again from the server.  Currently I cannot
see any clean way to do this.  I can append a '?' to the end of the
current source and retry but then i'm not sure how caching will work.

Would a slot, maybe reload(), be appropriate?

Maybe I am overlooking something.  Any help would be appreciated.

Thanks,
Mike



More information about the Qt-qml mailing list