This commit is contained in:
朱子楚\zhuzi 2023-06-30 22:55:03 +08:00
parent 21ddc79f3f
commit 74940665ae
3 changed files with 8 additions and 6 deletions

View File

@ -19,7 +19,7 @@ endif()
file(TO_CMAKE_PATH "/" PATH_SEPARATOR)
#
add_definitions(-DVERSION=1,3,7,0)
add_definitions(-DVERSION=1,3,7,1)
find_package(Qt6 REQUIRED COMPONENTS Quick)

View File

@ -5,8 +5,10 @@ import QtQuick.Controls
import FluentUI
import "qrc:///example/qml/component"
FluPage{
pageMode: FluNavigationView.SingleTop
FluRemoteLoader{
property int pageMode: FluNavigationView.SingleTop
property string url: ''
anchors.fill: parent
source: "https://zhu-zichu.gitee.io/T_RemoteLoader.qml"
}
}

View File

@ -12,7 +12,7 @@ endif()
set(QML_PLUGIN_DIRECTORY ${CMAKE_PREFIX_PATH}/qml/FluentUI)
#
add_definitions(-DVERSION=1,3,7,0)
add_definitions(-DVERSION=1,3,7,1)
find_package(Qt6 REQUIRED COMPONENTS Core Quick Qml)