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. <Solved> Qt5 Touchscreen plugin?
Forum Updated to NodeBB v4.3 + New Features

<Solved> Qt5 Touchscreen plugin?

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 5.3k 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.
  • L Offline
    L Offline
    learc83
    wrote on last edited by
    #1

    Solved: When the app is launched you can pass -plugin evdevtouch:/dev/input/event[insert event number of your touchscreen here]

    If you need to find which event is the touchscreen just cd into /dev/input and type "ls" to display all the events.

    Than type "cat event[insert number]" for each one and touch the touchscreen, when you see illegible text being displayed, you've found the touchscreen.

    I'm running Qt5 with using the eglfs plugin. I have a touchscreen using the n-trig driver that works fine under X11, but doesn't seem to work with Qt using the eglfs platform plugin.

    Is there a plugin I need to use or something else to enable touchscreen support?

    Update: It seems the touch screen events are passing through to the underlying X11 Desktop.

    1 Reply Last reply
    0
    • U Offline
      U Offline
      utcenter
      wrote on last edited by
      #2

      I had no problems with Qt on touchscreen devices - phones and tablets, maybe the x11 platform plugin needs a little refinement to support additional hardware?

      1 Reply Last reply
      0
      • L Offline
        L Offline
        learc83
        wrote on last edited by
        #3

        [quote author="utcenter" date="1358453508"]I had no problems with Qt on touchscreen devices - phones and tablets, maybe the x11 platform plugin needs a little refinement to support additional hardware?[/quote]

        Sorry if I was unclear. It works fine under X11, it doesn't work using the eglfs platform plugin.

        1 Reply Last reply
        0
        • A Offline
          A Offline
          Alex293
          wrote on last edited by
          #4

          have you found any clue about making eglfs working with ts ?

          1 Reply Last reply
          0
          • A Offline
            A Offline
            Alex293
            wrote on last edited by
            #5

            take a look to this, it worked to me http://qt-project.org/forums/viewthread/42365/

            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