I want to migrate a Qt Creator project with a Qt/QML app for Android to a Felgo project. The existing project uses a SwipeView and qtquickcontrols2.conf for Universal theme styling:
ApplicationWindow {
…
SwipeView {
id: swipeView
anchors.fill: parent
currentIndex: 2
interactive: true
…
Item {
id: firstPage
Loader {
anchors.fill: parent
sourceComponent: Qt.createComponent(“pages/firstPage.qml”, swipeView)
}
Item {
…
}
Item {
…
}
}
}
I seems, that Felgo apps require a different QML type hierarchy, starting with Navigation, NavigationItem or NavigationStack. Different to the regular Qt creator, the Felgo IDE shows the mobile app like a desktop app with totally different screen resolution and colors.
- Which hierarchy of Navigation* QML Types do I have to use to migrate my SwipeView?
- How can I simulate the Mobile app experience with an appropriate screen resolution and ratio?
- How can I create and integrate a qtquickcontrols2.conf file