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. Keyboard doesn't attach after application start - Raspberry Pi
Qt 6.11 is out! See what's new in the release blog

Keyboard doesn't attach after application start - Raspberry Pi

Scheduled Pinned Locked Moved Mobile and Embedded
6 Posts 2 Posters 1.6k 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.
  • C Offline
    C Offline
    creasser
    wrote on last edited by
    #1

    Hi,
    keyboard in app works fine until I unplug and plug in my keyboard again. Then it stops working in QT application and output goes directly to console (but of course app still covers console) - I found it out when I logged in via ssh and kill the app.

    QT version 4.7.

    Is there anybody who faced a similar problem?

    Thanks a lot for ur replies.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      AFAIK, when starting the application, Qt detects (or you tell it) what device to use. When unplugging and replugging, your kernel is probably creating a new device which is not the same as the one used by your application.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • C Offline
        C Offline
        creasser
        wrote on last edited by
        #3

        I'd say it too.
        And is there any fix?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Don't play with the keyboard or use your OS to detect that and restart your application.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • C Offline
            C Offline
            creasser
            wrote on last edited by
            #5

            @SGaist: Yeah, of course, I thought of that. But isn't there any procedure to re-attach keyboard during app run in QT?

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Not that I know of, but you can try asking on the interest mailing list. You'll find Qt's developers/maintainers there (this forum is more user oriented)

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              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