If I change it to qrc://images/icon2.jpg, I will have the follow errors: QML debugging is enabled. Only use this in a safe environment. file:///usr/ubuntu-sdk-dev/qml/Ubuntu/Components/1.3/OptionSelectorDelegate.qml:297:9: QML QQuickImage: Request for opening non-local file qrc://images/icon2.jpg file:///usr/ubuntu-sdk-dev/qml/Ubuntu/Components/1.3/OptionSelectorDelegate.qml:297:9: QML QQuickImage: Request for opening non-local file qrc://images/icon2.jpg file:///usr/ubuntu-sdk-dev/qml/Ubuntu/Components/1.3/OptionSelectorDelegate.qml:297:9: QML QQuickImage: Request for opening non-local file qrc://images/icon2.jpg file:///usr/ubuntu-sdk-dev/qml/Ubuntu/Components/1.3/OptionSelectorDelegate.qml:297:9: QML QQuickImage: Request for opening non-local file qrc://images/icon2.jpg
The usage for [image: "images/icon2.jpg"] should be right since it does not complain anything about it. Best regards, XiaoGuo ** Changed in: ubuntu-ui-toolkit (Ubuntu) Status: Invalid => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1556757 Title: optionselector does not display image correctly To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1556757/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs