Thanks for the fast reply. I tried with different kind of images of different resolution, sizes and file names before i found out that the problem was with the file format. I simply tried to replace the images in one of your demos with my jpg image and it would not build any more.
Here is the code I tried to build locally in my Qt Creator on Ubuntu using Desktop as target:
import VPlay 1.0 // for the gaming components
import QtQuick 1.1 // for the Image element
GameWindow {
activeScene: scene
width: 720
height: 1280
Scene {
id: scene
anchors.fill: parent
Image {
id: bg
anchors.fill: parent
source: "img/bg1.jpg"
}
}
}
When exchanging the image to bg1.png it works fine. The reason why i would like to use jpg instead of png for some of the art in my game is that the PNG almost three times larger in filesize than corresponding JPG.