mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-30 15:06:52 +08:00
18 lines
348 B
QML
18 lines
348 B
QML
|
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("/")
|
||
|
}
|
||
|
}
|