diff --git a/CMakeLists.txt b/CMakeLists.txt index faa92c667..34b7b7a01 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -83,7 +83,6 @@ else() endif() find_package(Wayland 1.9 REQUIRED Client) find_package(Qt${QT_MAJOR_VERSION} REQUIRED COMPONENTS WaylandClient) - find_package(PlasmaWaylandProtocols REQUIRED) find_package(WaylandProtocols REQUIRED) pkg_check_modules(XkbCommon IMPORTED_TARGET xkbcommon) endif() diff --git a/plugins/mousepad/CMakeLists.txt b/plugins/mousepad/CMakeLists.txt index 526949a70..614f157fc 100644 --- a/plugins/mousepad/CMakeLists.txt +++ b/plugins/mousepad/CMakeLists.txt @@ -16,16 +16,6 @@ if(UNIX AND NOT APPLE) PURPOSE "Needed for the remote mousepad plugin" ) - if (QT_MAJOR_VERSION EQUAL "5") - ecm_add_qtwayland_client_protocol(wayland_SRCS - PROTOCOL ${PLASMA_WAYLAND_PROTOCOLS_DIR}/fake-input.xml - BASENAME fake-input - ) - else() - qt6_generate_wayland_protocol_client_sources(kdeconnect_mousepad FILES - ${PLASMA_WAYLAND_PROTOCOLS_DIR}/fake-input.xml) - endif() - target_sources(kdeconnect_mousepad PRIVATE ${wayland_SRCS}) target_link_libraries(kdeconnect_mousepad Wayland::Client Qt::WaylandClient PkgConfig::XkbCommon) target_sources(kdeconnect_mousepad PUBLIC waylandremoteinput.cpp)