[Fix](make): 解决编译运行问题
This commit is contained in:
parent
1f234b28c3
commit
f7d929d04c
|
@ -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)
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
ukui-kwin-effects (1.0.8-ok2) yangtze; urgency=medium
|
||||
|
||||
* [Fix](make): 解决编译运行问题
|
||||
|
||||
-- Kevin Duan <duankaiwen@kylinos.cn> Mon, 13 Jun 2022 11:24:54 +0800
|
||||
|
||||
ukui-kwin-effects (1.0.8-ok1) yangtze; urgency=medium
|
||||
|
||||
* [Feature](wayland): 适配wayland环境
|
||||
|
|
|
@ -59,6 +59,7 @@ target_link_libraries(
|
|||
KF5::CoreAddons
|
||||
KF5::GlobalAccel
|
||||
Qt5::X11Extras
|
||||
${QGSettings_LIBRARIES}
|
||||
)
|
||||
|
||||
install(TARGETS ${PLUGIN_NAME} DESTINATION ${INSTALL_PATH})
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "desktopbackground.h"
|
||||
|
||||
#include <QSGSimpleRectNode>
|
||||
#include <QGSettings/QGSettings>
|
||||
#include <QGSettings>
|
||||
#include <QPainter>
|
||||
|
||||
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
#include <QWindow>
|
||||
// xcb
|
||||
#if HAVE_XCB_COMPOSITE
|
||||
#include <X11/Xlib.h>
|
||||
#include <xcb/damage.h>
|
||||
|
||||
#if HAVE_EGL
|
||||
|
|
Loading…
Reference in New Issue