Drop dependency with PlasmaWaylandProtocols
Now that we are using the RemoteDesktop XDP, we don't need FakeInput anymore. BUG: 465767
This commit is contained in:
parent
804d17b67c
commit
5d4b074ef5
2 changed files with 0 additions and 11 deletions
|
@ -83,7 +83,6 @@ else()
|
||||||
endif()
|
endif()
|
||||||
find_package(Wayland 1.9 REQUIRED Client)
|
find_package(Wayland 1.9 REQUIRED Client)
|
||||||
find_package(Qt${QT_MAJOR_VERSION} REQUIRED COMPONENTS WaylandClient)
|
find_package(Qt${QT_MAJOR_VERSION} REQUIRED COMPONENTS WaylandClient)
|
||||||
find_package(PlasmaWaylandProtocols REQUIRED)
|
|
||||||
find_package(WaylandProtocols REQUIRED)
|
find_package(WaylandProtocols REQUIRED)
|
||||||
pkg_check_modules(XkbCommon IMPORTED_TARGET xkbcommon)
|
pkg_check_modules(XkbCommon IMPORTED_TARGET xkbcommon)
|
||||||
endif()
|
endif()
|
||||||
|
|
|
@ -16,16 +16,6 @@ if(UNIX AND NOT APPLE)
|
||||||
PURPOSE "Needed for the remote mousepad plugin"
|
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_sources(kdeconnect_mousepad PRIVATE ${wayland_SRCS})
|
||||||
target_link_libraries(kdeconnect_mousepad Wayland::Client Qt::WaylandClient PkgConfig::XkbCommon)
|
target_link_libraries(kdeconnect_mousepad Wayland::Client Qt::WaylandClient PkgConfig::XkbCommon)
|
||||||
target_sources(kdeconnect_mousepad PUBLIC waylandremoteinput.cpp)
|
target_sources(kdeconnect_mousepad PUBLIC waylandremoteinput.cpp)
|
||||||
|
|
Loading…
Reference in a new issue