Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Keyboard input on remote display
Forum Updated to NodeBB v4.3 + New Features

Keyboard input on remote display

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 624 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    elimac
    wrote on last edited by
    #1

    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 ?

    1 Reply Last reply
    0
    • E Offline
      E Offline
      elimac
      wrote on last edited by
      #2

      Ok, nevermind, I solved it. My keyboard was not plugged in. Sorry for those who really have this problem, if it exists.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved