Hi
I am trying to assign image source during run time.
I tried the following code
Rectangle {
id: base; width: 25;
height: 25; x:35 y:35
property variant images : [ “images/image_tick.png”, “images/image1.png”, “images/image_loading.png”, ]; property int currentImage : 1;
Image {
id:status_locked
source:base.images
anchors.bottom: parent.top
anchors.bottomMargin: -28
anchors.left : parent.left
anchors.leftMargin: 11
visible :base.currentImage }
}
I am getting error while running “ Unable to assign QVariantList to QUrl”
Please help me in solving this issue
Regards
subram
↧