Important: Please read the Qt Code of Conduct -

QDeclarativeImageProvider::requestPixmap called twice when using Image with cache property set to false

  • I am using QtQuick 1.1 and I have a QPixmap provider called by an Image element with cache property set to false:
    @ Image {
    id: image
    cache: false
    asynchronous: true
    source: "image://pageprovider/"+currentIndex
    The problem is that when currentIndex changes requestPixmap() is called twice instead of once. Is there a way to remove the second call ?

Log in to reply