Qt 6.12 LTS is out! See what's new in the release
blog
Keyboard input on remote display
General and Desktop
2
Posts
1
Posters
986
Views
1
Watching
-
Hello,
I have an application using some 3D objects, the mouse to interact with them and some keyboard keys to tune the translations of my objectsand so on. My program works fine on my computer but I MUST execute it on remote display (with export DISPLAY=mg:0.0) to adapt it to the big program I work on.When I export the display, the keyboard keys are not recognized at all. The mouse, however, works perfectly.
I'm using a QGraphicsScene and the keyPressEvent(QKeyEvent * keyEvent) method to catch keyboard input.
Does someone know why it does not work and how to make it work ?