Touch input in QT5

Which Khadas SBC do you use?

VIM3L

Which system do you use? Android, Ubuntu, OOWOW or others?

Ubuntu 20 Server, Linux 4.9

Which version of system do you use? Khadas official images, self built images, or others?

official

Please describe your issue below:

Hi,
I got the QT5 example from here VIM3/3L QT5 [Khadas Docs] working on my VIM3L and I can see the app on /dev/fb0 but unfortunately I am unable to get the touch input working. Which device is used for touch input? The only evdevs I have are in the screenshot and I can not find anything for touch input. In the QT sample the mouse cursor is always in the top left corner and does not move, no matter which evdev I map my mouse to.

image

Check here: VIM3/3L QT5 [Khadas Docs]

Have you attach the TS05 touchscreen properly? Check here: VIM3/3L TS050 Touchscreen [Khadas Docs]

Does the Touchscreen input only show up when I connect it? Because I wanted to use framebuffer vnc for development and testing.

Yes, you need to attach the touchscreen.

Would a Touchscreen with hdmi as usb for the touch interface also work that way?

It should work, but you need to setup the correct touchscreen input device.