Qt World Summit: Register Today!

Http Get request inside Listview delegate

  • Hi everyone, I'm trying to display a Listview in qml using a QAbstractListModel, the thing is that in each model item I have an id for an image and I have to make a http get request using the QNetworkAccessManager to obtain the image url. Is there any way I can make the get request inside my Listview delegate?

  • Qt Champions 2017

    Do u want fetch an image in delegate? If yes then u don't need it. Just assign the image url. It will fetch on it's own.

Log in to reply