Solved What is wrong with Image in QML?
-
I load PNG image geotag.png in resource file:
In QML I try show image:
Image { x: 500 y: 100 source: "qrc:/resources/geotag.png" }
But I get error:
QML Image: Cannot open: qrc:/resources/geotag.png
What is wrong?
-
@Gourmet
Can you please show us yourCompile Output
?
Also pleaseRun qmake
to update the image.All the best.
-
@Pradeep-P-N damn... qmake helped.
-
But this is strange cause I used resources very often - and never had run qmake.