How to send keyboard input under wayland?
-
Hello there! I'm trying to use WaylandSeat to send a keyboard input to the OS, running on Wayland (Fedora36 KDE spin in my case) but I don't understand how to use it:
import QtWayland.Compositor 1.15 ... WaylandSeat{ id: wayland } ...
but running it gives me this error:
QQmlApplicationEngine failed to load component <Unknown File>:23:2: Cannot create instance of WaylandSeat qt.qml.gc.statistics: Qml GC memory allocation statistics: qt.qml.gc.statistics: Total memory allocated: 0 qt.qml.gc.statistics: Max memory used before a GC run: 0 qt.qml.gc.statistics: Max memory used after a GC run: 0 qt.qml.gc.statistics: Requests for different item sizes: qt.qml.gc.statistics: < 32 bytes: 809 qt.qml.gc.statistics: < 64 bytes: 165 qt.qml.gc.statistics: < 96 bytes: 517 qt.qml.gc.statistics: < 128 bytes: 55 qt.qml.gc.statistics: < 160 bytes: 0 qt.qml.gc.statistics: < 192 bytes: 0 qt.qml.gc.statistics: >= 224 bytes: 43
what am I missing?
thanks in advance!