I’m developing an app and in need of using images for the user interface, I have them all in the resources.qrc and they look like this:
<RCC>
<qresource prefix="/imgs">
<file>assets/background.svg</file>
<file>assets/background_1.svg</file>
<file>assets/LOGO.png</file>
<file>assets/Logo.svg</file>
</qresource>
</RCC>
How do I use them?
I tried both:
//First trial:
Image{
source: "qrc:///imgs/assets/LOGO.png"
}
//Second Trial
Image{
source: "qrc:/imgs/assets/LOGO.png"
}
but nothing worked, am I missing something?
Thanx