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. Two cursors occurs, with qt5.15.2 eglfs
Forum Updated to NodeBB v4.3 + New Features

Two cursors occurs, with qt5.15.2 eglfs

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
4 Posts 2 Posters 428 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
    Eric-zhuqiang
    wrote on last edited by
    #1

    I built qt15.5.2 on jetson-nano with opengl es2. I run a qml application, it works well on PC, but occurs problem on jetson-nano. the flag QT_QPA_PALTFORM=eglfs was set, the application runs with a bash script like this:

    export QT_ROOT=...
    export QT_QPA_PLATFORM_PLUGIN_PATH=...
    ....
    ./qmltest
    

    When I execute this script with normal permissions, only one mouse will be displayed, but there is no mouse event.
    When I execute this script with sudo permission, two mice will be displayed, but the mouse event is normal. I guess one is X11 mouse and the other is QT mouse

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

      Hi and welcome to devnet,

      Are you trying to run your application with the eglfs backend at the same time as the X server is running ?

      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
      1
      • E Offline
        E Offline
        Eric-zhuqiang
        wrote on last edited by
        #3

        yes, and now, I build with xcb and run with xcb backend. It works well...

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

          That's normal. You had two applications fighting for the same resources (your application and the X server).

          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