Commit 4a06dd74 authored by Volker Krause's avatar Volker Krause
Browse files

Fix Qt6 build of the Wayland screencast integration

Qt6 requires the protocol file name matching the protocol name, otherwise
we end up with invalid code. This has been fixed in the latest Plasma
Wayland protocols.
parent 9ee83def
Pipeline #171768 passed with stage
in 1 minute and 52 seconds
......@@ -3,3 +3,4 @@
include:
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux.yml
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux-qt6.yml
......@@ -73,11 +73,11 @@ set(xdg_desktop_portal_kde_SRCS
if (QT_MAJOR_VERSION EQUAL "5")
ecm_add_qtwayland_client_protocol(xdg_desktop_portal_kde_SRCS
PROTOCOL ${PLASMA_WAYLAND_PROTOCOLS_DIR}/screencast.xml
PROTOCOL ${PLASMA_WAYLAND_PROTOCOLS_DIR}/zkde-screencast-unstable-v1.xml
BASENAME zkde-screencast-unstable-v1
)
else()
qt6_generate_wayland_protocol_client_sources(xdg-desktop-portal-kde FILES ${PLASMA_WAYLAND_PROTOCOLS_DIR}/screencast.xml)
qt6_generate_wayland_protocol_client_sources(xdg-desktop-portal-kde FILES ${PLASMA_WAYLAND_PROTOCOLS_DIR}/zkde-screencast-unstable-v1.xml)
endif()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment