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 |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/examples/qml/CMakeLists.txt b/examples/qml/CMakeLists.txt
index 9b834fa..e99d23c 100644
--- a/examples/qml/CMakeLists.txt
+++ b/examples/qml/CMakeLists.txt
@@ -3,12 +3,8 @@
 file(GLOB _src *.h *.cpp *.qrc)
 
 qwk_add_example(${PROJECT_NAME}
+    FEATURES cxx_std_17
     SOURCES ${_src} ../shared/resources/shared.qrc
     QT_LINKS Core Gui Qml Quick
     LINKS QWKQuick
-)
-
-set_target_properties(${PROJECT_NAME} PROPERTIES
-    CXX_STANDARD 17
-    CXX_STANDARD_REQUIRED TRUE
-)
+)
\ No newline at end of file

--
Gitblit v1.9.1