From d3d7430ec9afb94abaf78fa2c9edd9d9f946881c Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周一, 18 12月 2023 01:29:07 +0800
Subject: [PATCH] Add QtContext WinIdChange workaround

---
 src/quick/CMakeLists.txt |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/quick/CMakeLists.txt b/src/quick/CMakeLists.txt
index 0591a42..9389c8b 100644
--- a/src/quick/CMakeLists.txt
+++ b/src/quick/CMakeLists.txt
@@ -5,6 +5,7 @@
 
 set(_src
     qwkquickglobal.h
+    qwkquickglobal.cpp
     quickitemdelegate_p.h
     quickitemdelegate.cpp
     quickwindowagent.h
@@ -12,6 +13,10 @@
     quickwindowagent.cpp
 )
 
+if(WIN32)
+    list(APPEND _src quickwindowagent_win.cpp)
+endif()
+
 qwk_add_library(${PROJECT_NAME} AUTOGEN
     SOURCES ${_src}
     LINKS QWKCore

--
Gitblit v1.9.1