Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Resistive Touch Panel and Qt QML Application
Ongsk last edited by
I have a 7" touch panel (resistive with hdmi and usb as Digitizer) hook up with SBC loaded with Yocto (qt 5).
I have been unable to get the touch functionality (not multi touch) work. The Yocto built included libInput (without TSLIB) . Wayland, Wayland-egl, xcb .
I am able to open wayland console (included in the built) and close the console with touch. But not the qml code i created.
so I down loaded qt-touchscreen-test. link text. The application ran along side evtest (with sbc debug console)
The app is not responded to touch. But evtest at the debug console showed ,the touch panel response with the touch , and here are some of the output :
Event: time 1622539295.983556, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1 Event: time 1622539295.983556, type 3 (EV_ABS), code 0 (ABS_X), value 3242 Event: time 1622539295.983556, type 3 (EV_ABS), code 1 (ABS_Y), value 5716
below is the evtest , selected devices is 2 (Future Designs) as Digitizer
No device specified, trying to scan all of /dev/input/event* Available devices: /dev/input/event0: da9063-onkey /dev/input/event1: sgtl5000-audio Headphone Jack /dev/input/event2: Future Designs, Inc. ELI70-CP - Digitizer Select the device event number [0-2]:
I read some where TSLIB is not needed with libInput, am i right ?
Do i need to set Environment for the QML App to work? If yes what variable do I need to set?