-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMake: move panel WM backends to separate libraries
- QTime is included to fix build errors
- Loading branch information
Showing
7 changed files
with
70 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,19 @@ | ||
# Common interface for Window Manager abstraction backend | ||
# This also contains dummy backend | ||
|
||
add_library(lxqt-panel-backend-common STATIC | ||
|
||
lxqttaskbartypes.h | ||
ilxqttaskbarabstractbackend.h | ||
ilxqttaskbarabstractbackend.cpp | ||
|
||
lxqttaskbardummybackend.h | ||
lxqttaskbardummybackend.cpp | ||
) | ||
|
||
target_link_libraries(lxqt-panel-backend-common | ||
Qt6::Gui | ||
) | ||
|
||
add_subdirectory(wayland) | ||
add_subdirectory(xcb) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,32 @@ | ||
# Wayland WM Backend | ||
|
||
project(lxqt-panel-backend-wayland) | ||
|
||
find_package(Qt6 ${REQUIRED_QT_VERSION} REQUIRED COMPONENTS WaylandClient Concurrent) | ||
|
||
add_library(lxqt-panel-backend-wayland STATIC | ||
lxqttaskbarbackendwayland.h | ||
lxqttaskbarplasmawindowmanagment.h | ||
lxqtplasmavirtualdesktop.h | ||
|
||
lxqttaskbarbackendwayland.cpp | ||
lxqttaskbarplasmawindowmanagment.cpp | ||
lxqtplasmavirtualdesktop.cpp | ||
) | ||
|
||
qt6_generate_wayland_protocol_client_sources(lxqt-panel-backend-wayland | ||
FILES | ||
${CMAKE_CURRENT_SOURCE_DIR}/protocols/plasma-window-management.xml | ||
) | ||
|
||
qt6_generate_wayland_protocol_client_sources(lxqt-panel-backend-wayland | ||
FILES | ||
${CMAKE_CURRENT_SOURCE_DIR}/protocols/org-kde-plasma-virtual-desktop.xml | ||
) | ||
|
||
target_link_libraries(lxqt-panel-backend-wayland | ||
Qt6::GuiPrivate | ||
Qt6::WaylandClient | ||
Qt6::Concurrent | ||
lxqt-panel-backend-common | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,14 @@ | ||
# XCB WM Backend | ||
|
||
project(lxqt-panel-backend-xcb) | ||
|
||
add_library(lxqt-panel-backend-xcb STATIC | ||
lxqttaskbarbackend_x11.h | ||
lxqttaskbarbackend_x11.cpp | ||
) | ||
|
||
target_link_libraries(lxqt-panel-backend-xcb | ||
KF6::WindowSystem | ||
lxqt-panel-backend-common | ||
) | ||
|