fix: 修复任务栏应用图标右键失效问题

修复任务栏应用图标右键失效问题

Log:
Task: https://pms.uniontech.com/task-view-140805.html
Influence: 保证任务栏应用右键菜单功能正常
Change-Id: Iedb3e0394567c855f7760dc52a06d8ad1073001e
This commit is contained in:
weizhixiang
2022-05-31 17:20:39 +08:00
parent 602f7c55e1
commit 7cb147fb39
26 changed files with 288 additions and 224 deletions

View File

@ -2,7 +2,7 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
find_package(Qt5 REQUIRED COMPONENTS Core DBus Concurrent)
find_package(Qt5 REQUIRED COMPONENTS Core DBus Concurrent Gui)
find_package(DtkCore REQUIRED)
pkg_check_modules(XCB REQUIRED IMPORTED_TARGET xcb-icccm xcb-ewmh xcb)
@ -45,6 +45,7 @@ target_link_libraries(deepin-application-manager
PkgConfig::XCB
PkgConfig::X11
PkgConfig::GIO
${Qt5Gui_LIBRARIES}
)
target_include_directories(deepin-application-manager PUBLIC
@ -55,6 +56,7 @@ target_include_directories(deepin-application-manager PUBLIC
../frameworkdbus
../frameworkdbus/qtdbusextended
../frameworkdbus/types
${Qt5Gui_PRIVATE_INCLUDE_DIRS}
)
install(TARGETS deepin-application-manager DESTINATION bin)