Unsolved How to add qImage to ImageProvider?
-
I can't understand how to add images to ImageProvider? Are there any examples how to use ImageProvider?
-
Hi,
Do you mean create a custom image provider ?
-
@Subuday
Take a look at QImageProvider Documentation.
https://doc.qt.io/qt-5/qquickimageprovider.html#requestImageThe id is the requested image source, with the "image:" scheme and provider identifier removed. For example, if the image source was "image://myprovider/icons/home", the given id would be "icons/home".