From 74940665aed90afc9e4fb38eff7a2266cf30b65a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E5=AD=90=E6=A5=9A=5Czhuzi?= Date: Fri, 30 Jun 2023 22:55:03 +0800 Subject: [PATCH] update --- example/CMakeLists.txt | 2 +- example/qml/page/T_RemoteLoader.qml | 10 ++++++---- src/CMakeLists.txt | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index 13ece9ce..ce8fdadf 100644 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -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) diff --git a/example/qml/page/T_RemoteLoader.qml b/example/qml/page/T_RemoteLoader.qml index de4125e7..e10ac2f8 100644 --- a/example/qml/page/T_RemoteLoader.qml +++ b/example/qml/page/T_RemoteLoader.qml @@ -5,8 +5,10 @@ import QtQuick.Controls import FluentUI import "qrc:///example/qml/component" -FluRemoteLoader{ - property int pageMode: FluNavigationView.SingleTop - property string url: '' - source: "https://zhu-zichu.gitee.io/T_RemoteLoader.qml" +FluPage{ + pageMode: FluNavigationView.SingleTop + FluRemoteLoader{ + anchors.fill: parent + source: "https://zhu-zichu.gitee.io/T_RemoteLoader.qml" + } } diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 5cd65cc3..3a24d548 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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)