Details
-
Suggestion
-
Resolution: Invalid
-
P3: Somewhat important
-
5.0.0
-
None
Description
There're still no simple way to load images from qrc with QML. The easiest is embedding qml into qrc and load images from qrc natively.
But I don't want to embed qml to qrc because of the big disadvantages of that approach (must recompile too often). Yet I want to use images from qrc, to forget about the url/path of the images.
Using an ImageProvider, I can achieve that. But it would be very nice if Qt supports a built-in image provider for importing qrc images with ease, without the need for embedding qml into qrc.