Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to navigate from one qml file to other qml file.
-
Eg. sample.qml
Rectangle {
Loader {
id:pageloader
}
MouseArea {
onclick : pageloader.source = "sample1.qml"
}
}Eg. sample1.qml
Rectangle {
///content
}
-
Hi,
I would use a stackview.
https://www.youtube.com/watch?v=Zjny0E5vCoM
Regards,
Emmanuel