From 5a0e5a9261c251dba54afb8cc0b6b32ae9d95510 Mon Sep 17 00:00:00 2001
From: Zhao Yuhang <2546789017@qq.com>
Date: 周二, 12 12月 2023 19:50:34 +0800
Subject: [PATCH] add theme win32 message

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

diff --git a/examples/mainwindow/CMakeLists.txt b/examples/mainwindow/CMakeLists.txt
index f981f1a..6137ab3 100644
--- a/examples/mainwindow/CMakeLists.txt
+++ b/examples/mainwindow/CMakeLists.txt
@@ -1,15 +1,9 @@
 project(QWKExample_MainWindow)
 
-set(CMAKE_AUTOMOC ON)
-set(CMAKE_AUTOUIC ON)
-set(CMAKE_AUTORCC ON)
-
 file(GLOB _src *.h *.cpp)
 
-add_executable(${PROJECT_NAME})
-
-qm_configure_target(${PROJECT_NAME}
+qwk_add_example(${PROJECT_NAME}
     SOURCES ${_src}
     QT_LINKS Core Gui Widgets
-    LINKS QWKWidgets
+    LINKS QWKWidgets WidgetFrame
 )
\ No newline at end of file

--
Gitblit v1.9.1