From f7d929d04cf1a3237d7d01e15117993c94cf3805 Mon Sep 17 00:00:00 2001 From: KevinDuan Date: Mon, 13 Jun 2022 11:26:18 +0800 Subject: [PATCH] =?UTF-8?q?[Fix](make):=20=E8=A7=A3=E5=86=B3=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E8=BF=90=E8=A1=8C=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakeLists.txt | 3 +++ debian/changelog | 6 ++++++ windowsview/CMakeLists.txt | 1 + windowsview/desktopbackground.cpp | 2 +- windowsview/windowthumbnail.h | 1 + 5 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 75ee071..cf95758 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,6 +2,9 @@ cmake_minimum_required(VERSION 3.5) project(ukui-kwin-effects) +find_package(PkgConfig) +pkg_check_modules(QGSettings REQUIRED gsettings-qt) +include_directories(${QGSettings_INCLUDE_DIRS}) find_package(Qt5 CONFIG REQUIRED COMPONENTS Core Gui) find_package(KF5CoreAddons REQUIRED) find_package(KF5WindowSystem REQUIRED) diff --git a/debian/changelog b/debian/changelog index 0fa153b..a01c995 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +ukui-kwin-effects (1.0.8-ok2) yangtze; urgency=medium + + * [Fix](make): 解决编译运行问题 + + -- Kevin Duan Mon, 13 Jun 2022 11:24:54 +0800 + ukui-kwin-effects (1.0.8-ok1) yangtze; urgency=medium * [Feature](wayland): 适配wayland环境 diff --git a/windowsview/CMakeLists.txt b/windowsview/CMakeLists.txt index d48335a..f9772f9 100644 --- a/windowsview/CMakeLists.txt +++ b/windowsview/CMakeLists.txt @@ -59,6 +59,7 @@ target_link_libraries( KF5::CoreAddons KF5::GlobalAccel Qt5::X11Extras + ${QGSettings_LIBRARIES} ) install(TARGETS ${PLUGIN_NAME} DESTINATION ${INSTALL_PATH}) diff --git a/windowsview/desktopbackground.cpp b/windowsview/desktopbackground.cpp index e45a402..068135e 100644 --- a/windowsview/desktopbackground.cpp +++ b/windowsview/desktopbackground.cpp @@ -1,7 +1,7 @@ #include "desktopbackground.h" #include -#include +#include #include diff --git a/windowsview/windowthumbnail.h b/windowsview/windowthumbnail.h index 9bebc35..f28a729 100644 --- a/windowsview/windowthumbnail.h +++ b/windowsview/windowthumbnail.h @@ -41,6 +41,7 @@ #include // xcb #if HAVE_XCB_COMPOSITE +#include #include #if HAVE_EGL