From 469c975a708ed86c834b59ed751a4548c693a7b9 Mon Sep 17 00:00:00 2001
From: 李威 wei.li <108964761+liwey1985@users.noreply.github.com>
Date: 周一, 21 4月 2025 15:34:54 +0800
Subject: [PATCH] Fix NSWindowProxy::setSystemButtonVisible not taking effect (#175)

---
 examples/mainwindow/CMakeLists.txt |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/examples/mainwindow/CMakeLists.txt b/examples/mainwindow/CMakeLists.txt
index 6137ab3..644e733 100644
--- a/examples/mainwindow/CMakeLists.txt
+++ b/examples/mainwindow/CMakeLists.txt
@@ -3,7 +3,8 @@
 file(GLOB _src *.h *.cpp)
 
 qwk_add_example(${PROJECT_NAME}
-    SOURCES ${_src}
-    QT_LINKS Core Gui Widgets
+    FEATURES cxx_std_17
+    SOURCES ${_src} mainwindow.qrc ../shared/resources/shared.qrc
+    QT_LINKS Core Gui Widgets # MultimediaWidgets
     LINKS QWKWidgets WidgetFrame
 )
\ No newline at end of file

--
Gitblit v1.9.1