<Solved> Qt5 Touchscreen plugin?
-
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.
-
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 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.
-
have you found any clue about making eglfs working with ts ?
-
take a look to this, it worked to me http://qt-project.org/forums/viewthread/42365/