[SOLVED]Image doesn't appear while running from qt creator
-
Hi,
I am new with qml. I created a Qt Quick Application and created ui part.
Code is:
@import QtQuick 2.0
Rectangle {
width: 200; height: 200
Image {
id: image
source: "../images/sample64.png"
}
}
@The project when I run from the qt creator the screen appears blank (just a white screen).
But if I open the qml file with qmlviewer, the image appears.
Why is it so? what should I do to see the image while debugging the project?