tell me if I understand correctly, can’t you open an external Qml file? I would like to make several Qml files for my windows but load them from the main drower, but I can’t do that. From what I read should I do all the pages in the Main.qml?
App {
Navigation {
// enable both tabs and drawer for this demo
// by default, tabs are shown on iOS and a drawer on Android
navigationMode: navigationModeDrawer
NavigationItem {
title: "Home"
icon: IconType.home
NavigationStack {
id:navigationStack
ListPage {
id: page
title: "App Paolo"
model: ListModel {
ListElement {
name: "Riparazioni"
type1: "section1"
page: "Riparazioni.qml"
}
ListElement {
name:"Magazzino"
type1: "section1"
page: "Magazzino.qml"
}
}
delegate: SimpleRow {
text: name
onSelected: navigationStack.push(Qt.resolvedUrl(page))
}
}
}
}
NavigationItem {
title: "Setting"
icon: IconType.list
//page with sub page navigation
NavigationStack {
//QML FILE EXTERNAL*////////////////////////////
Settings{}
}
}
}
}