From 9dcea027f16c4ce5852da3dfc8aca284c582bd7d Mon Sep 17 00:00:00 2001
From: sola.lu <sola.lu.greentest.com.cn>
Date: 周五, 06 6月 2025 18:19:18 +0800
Subject: [PATCH] 1.注释掉custom margin,解决程序放大后,遮盖窗口底部内容的问题。

---
 examples/qml/CMakeLists.txt |   15 ++++-----------
 1 files changed, 4 insertions(+), 11 deletions(-)

diff --git a/examples/qml/CMakeLists.txt b/examples/qml/CMakeLists.txt
index c638a6a..e99d23c 100644
--- a/examples/qml/CMakeLists.txt
+++ b/examples/qml/CMakeLists.txt
@@ -1,17 +1,10 @@
 project(QWKExample_QML)
 
-set(CMAKE_AUTOMOC ON)
-set(CMAKE_AUTOUIC ON)
-set(CMAKE_AUTORCC ON)
-
 file(GLOB _src *.h *.cpp *.qrc)
 
-add_executable(${PROJECT_NAME})
-
-qm_configure_target(${PROJECT_NAME}
-    SOURCES ${_src}
+qwk_add_example(${PROJECT_NAME}
+    FEATURES cxx_std_17
+    SOURCES ${_src} ../shared/resources/shared.qrc
     QT_LINKS Core Gui Qml Quick
     LINKS QWKQuick
-)
-
-qm_add_win_manifest(${PROJECT_NAME})
\ No newline at end of file
+)
\ No newline at end of file

--
Gitblit v1.9.1