kiran-control-panel/0001-build-system-add-system-plugin-build-library-printsu.patch
liuxinhao 2020de33fa build(system): change system information build requires
- 修改系统信息插件构建依赖库PrintSupport
2022-07-11 18:56:12 +08:00

38 lines
1.3 KiB
Diff

From ff0fefbe49bf121cbb35d83913e1b1a1b5e1fb50 Mon Sep 17 00:00:00 2001
From: liuxinhao <liuxinhao@kylinsec.com.cn>
Date: Mon, 11 Jul 2022 17:42:51 +0800
Subject: [PATCH] build(system): add system plugin build library printsupport
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 系统信息页编译加入Qt PrintSupport支持
---
plugins/system/CMakeLists.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/plugins/system/CMakeLists.txt b/plugins/system/CMakeLists.txt
index 7609e37..04b4b89 100644
--- a/plugins/system/CMakeLists.txt
+++ b/plugins/system/CMakeLists.txt
@@ -7,7 +7,7 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
find_package(PkgConfig REQUIRED)
-find_package(Qt5 COMPONENTS Widgets Svg DBus LinguistTools)
+find_package(Qt5 COMPONENTS Widgets Svg DBus LinguistTools PrintSupport)
pkg_search_module(KLOG_QT5 REQUIRED klog-qt5)
pkg_search_module(KIRAN_CC_DAEMON REQUIRED kiran-cc-daemon)
pkg_search_module(KIRAN_STYLE_HELPER REQUIRED kiran-style-helper)
@@ -37,6 +37,7 @@ target_link_libraries(${TARGET_NAME}
Qt5::Widgets
Qt5::DBus
Qt5::Svg
+ Qt5::PrintSupport
${KIRAN_WIDGETS_QT5_LIBRARIES}
${KLOG_QT5_LIBRARIES}
${KIRAN_STYLE_HELPER_LIBRARIES})
--
2.33.0