From 245ddfa1f01b4c9fa10337246b8045755e5bcce5 Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周二, 19 12月 2023 21:03:58 +0800
Subject: [PATCH] Change back to qScopeGuard

---
 src/quick/CMakeLists.txt |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/quick/CMakeLists.txt b/src/quick/CMakeLists.txt
index 7381738..9389c8b 100644
--- a/src/quick/CMakeLists.txt
+++ b/src/quick/CMakeLists.txt
@@ -5,20 +5,24 @@
 
 set(_src
     qwkquickglobal.h
+    qwkquickglobal.cpp
     quickitemdelegate_p.h
     quickitemdelegate.cpp
     quickwindowagent.h
     quickwindowagent_p.h
     quickwindowagent.cpp
-    contexts/quickwindowcontext_p.h
-    contexts/quickwindowcontext.cpp
 )
+
+if(WIN32)
+    list(APPEND _src quickwindowagent_win.cpp)
+endif()
 
 qwk_add_library(${PROJECT_NAME} AUTOGEN
     SOURCES ${_src}
     LINKS QWKCore
     QT_LINKS Core Gui Quick
     QT_INCLUDE_PRIVATE Core Gui Quick
+    INCLUDE_PRIVATE contexts
     PREFIX QWK_QUICK
 )
 

--
Gitblit v1.9.1