Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt app in eglfs losing input after /dev/input is changed
QtWS25 Last Chance

Qt app in eglfs losing input after /dev/input is changed

Scheduled Pinned Locked Moved Mobile and Embedded
raspberry eglfsraspberryraspberry piinputqml
2 Posts 2 Posters 1.3k Views
  • 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.
  • 1 Offline
    1 Offline
    10robinho
    wrote on last edited by 10robinho
    #1

    I have basic qml app running on Raspberry PI 2, eglsf, Qt 5.5 (issue is in every version I tried from 4.x to 5.x).

    Everything is fine, but when I unplug keyboard and plug it in again I lose application input.
    I suppose that is because new device is created in /dev/input.

    In the moment keyboard is unplugged, app spams log with Could not read from input device: No such device.

    How can I tell Qt to use any input source it has?
    Now, I have to restart application on new input source, but that is ugly workaround.

    1 Reply Last reply
    0
    • chaithubkC Offline
      chaithubkC Offline
      chaithubk
      wrote on last edited by
      #2

      Hi Have you find any solution for this problem ?

      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