Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Mouse issue
Qt 6.11 is out! See what's new in the release blog

Mouse issue

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 1 Posters 1.4k 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.
  • michaelLM Offline
    michaelLM Offline
    michaelL
    wrote on last edited by
    #1

    I am using Qt on embedded linux and have notice some issue with the mouse.
    Some mouse works fine with the application and some doenst.
    When the application is not running i notice that the OS gets the input events correctly on all of mouses:
    cat /dev/input/event1

    Once the application is running the "cat /dev/input/event1" doenst output anything anymore on the mouse that have this issue and the mouse pointer appears on the application but not doenst move. On the functional mouse the command "cat /dev/input/event1" outputs the events and i can move around on the application.

    Any idea why Qt blocks the mouse?

    1 Reply Last reply
    0
    • michaelLM Offline
      michaelLM Offline
      michaelL
      wrote on last edited by
      #2

      When i plug the USB Mouse from the device i get this issue from my Application:

      evdevkeyboard: Could not read from input device (No such device)
      evdevkeyboard: Failed to query led states
      evdevkeyboard: Failed to query led states

      1 Reply Last reply
      0
      • michaelLM Offline
        michaelLM Offline
        michaelL
        wrote on last edited by
        #3

        Hi,

        i found the problem once i do "export QT_QPA_EVDEV_KEYBOARD_PARAMETERS=grab=1" before starting the application. The mouse doesnt work.
        If i comment it out, it works.
        Why is that? And how can i still grab the Keyboard and get the mouse working without this env variable?

        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