Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

setting static path to image source

$
0
0
hi friends I am trying to set static path to an image source which i was not able to overcome..I do not want an image to be used from qrc file…So i need to access an image from desktop in ubuntu qml qt..here i tried like Image { id: xxx anchors.centerIn: parent.center source: “file:///home/xx……../image1.jpg” or source: “/home/xx……../image1.jpg” } i could not load that image and i am trying hard to get..it will be greta if some one can help me with this.. Thanks in Advance friends…

Viewing all articles
Browse latest Browse all 4972

Trending Articles