qt - QML cannot open an image more than once -
in 1 of qml pages, there 1 button , listview containing image , text on each row. use test image both button , listview row item. button can show image listview complains "qml image: cannot open: qrc:/../../../users/jerry/desktop/la.png". both image , qml files under resources. here code. import qtquick 2.0 import qtquick.controls 1.2 rectangle { anchors.fill: parent item { id: advancedbackground anchors.fill: parent button { id: backbutton width: 25 height: 25 anchors.top: parent.top anchors.topmargin: 25 anchors.left: parent.left anchors.leftmargin: 25 opacity: backmousearea.containsmouse ? 0.9 : 0.1 mousearea { id: backmousearea anchors.fill: parent hoverenabled: true onclicked: { leftarrow.visible = true; rightarrow.visible = false; stackview.pop(); } } ima...