From df53287060966d78ffccac78342fb5d0a028f835 Mon Sep 17 00:00:00 2001
From: sola.lu <sola.lu.greentest.com.cn>
Date: 周二, 10 6月 2025 19:03:07 +0800
Subject: [PATCH] 1.添加翻译,about,手册,login这几个按钮到标题栏。

---
 share/install.cmake |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/share/install.cmake b/share/install.cmake
index 0080395..1e64011 100644
--- a/share/install.cmake
+++ b/share/install.cmake
@@ -77,6 +77,12 @@
     to_dos_separator(MSBUILD_QWK_INSTALL_LIBDIR)
     to_dos_separator(MSBUILD_QWK_INSTALL_INCDIR)
 
+    if(QWINDOWKIT_BUILD_STATIC)
+        set(MSBUILD_QWK_STATIC_MACRO 
+            "<PreprocessorDefinitions>QWK_CORE_STATIC;QWK_WIDGETS_STATIC;QWK_QUICK_STATIC</PreprocessorDefinitions>"
+        )
+    endif()
+
     configure_file(${CMAKE_CURRENT_LIST_DIR}/msbuild/QWindowKit.props.in
         ${_build_data_dir}/msbuild/QWindowKit.props
         @ONLY

--
Gitblit v1.9.1