我正在使用 qt,我的导航项需要从设备设置自定义图像,如何在 NavigationItem 上设置图像?
App {
Navigation {
NavigationItem {
title: "Main"
//I need set Image on this item, kindly help me. I know there is icon, but I dont know how to set custom image.
//Image{ " icon.source: "https://www.howtogeek.com/wp-content/uploads/2018/06/shutterstock_1006988770.png""
// anchors.left:parent.left
}
}
}