add_subdirectory(helper) add_library(KWinIntegrationTestFramework STATIC) qt6_generate_wayland_protocol_client_sources(KWinIntegrationTestFramework NO_INCLUDE_CORE_ONLY FILES ${WaylandProtocols_DATADIR}/unstable/input-method/input-method-unstable-v1.xml ) qt6_generate_wayland_protocol_client_sources(KWinIntegrationTestFramework FILES ${WaylandProtocols_DATADIR}/unstable/text-input/text-input-unstable-v3.xml ${CMAKE_SOURCE_DIR}/src/wayland/protocols/wlr-layer-shell-unstable-v1.xml ${WaylandProtocols_DATADIR}/stable/xdg-shell/xdg-shell.xml ${WaylandProtocols_DATADIR}/unstable/xdg-decoration/xdg-decoration-unstable-v1.xml ${WaylandProtocols_DATADIR}/unstable/idle-inhibit/idle-inhibit-unstable-v1.xml ${WaylandProtocols_DATADIR}/staging/fractional-scale/fractional-scale-v1.xml ${WaylandProtocols_DATADIR}/staging/cursor-shape/cursor-shape-v1.xml ${WaylandProtocols_DATADIR}/staging/security-context/security-context-v1.xml ${PLASMA_WAYLAND_PROTOCOLS_DIR}/kde-output-device-v2.xml ${PLASMA_WAYLAND_PROTOCOLS_DIR}/kde-output-management-v2.xml ${PLASMA_WAYLAND_PROTOCOLS_DIR}/kde-screen-edge-v1.xml ${PLASMA_WAYLAND_PROTOCOLS_DIR}/zkde-screencast-unstable-v1.xml ${PLASMA_WAYLAND_PROTOCOLS_DIR}/fake-input.xml ) if (Qt6_VERSION VERSION_LESS "6.7.1") # the qtwaylandscanner macro cannot handle the mismatched file name and