FluentUI/example/res/template/src/App.qml.in

18 lines
348 B
QML
Raw Normal View History

2024-03-11 00:02:11 +08:00
import QtQuick 2.15
import QtQuick.Window 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
import FluentUI 1.0
Item {
id: app
Component.onCompleted: {
FluApp.init(app)
FluApp.windowIcon = "qrc:/logo.ico"
FluApp.routes = {
"/":"qrc:/main.qml",
}
FluApp.navigate("/")
}
}