I've an image, gps.png, that is included in a resource.

The image is in the resources/images/ directory.

The resource file has this entry:

Qt Code:
  1. <qresource prefix="/images">
  2. <file alias="gps">resources/images/gps.png</file>
  3. </qresource>
To copy to clipboard, switch view to plain text mode 

On qml, has this code:

Qt Code:
  1. Image {
  2. width: 64
  3. height: 64
  4. source: "images/gps"
  5. }
To copy to clipboard, switch view to plain text mode 

If I run this program, it works well, the image appears, but if I run qmlscene, nothing appears, it doesn't find the image. Only appears when I put the complete path: resources/images/gps.png.

How can I prototype using qmlscene when use resources?