[Solved] How to pass 'requestedSize' from QML to a QQuickImageProvider?
QML and Qt Quick
2
Posts
1
Posters
1.1k
Views
1
Watching
-
The QQuickImageProvider::requestImage function has requestedSize parameter, and I want to make a use of it. However, there is no documentation on how to set it from QML, nor I was able to find examples. Is it possible and how?
p.s. As alternative far I am thinking to encode size into id string, something like @"image://my-provider/some-image/100x60"@