This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How QT5 application works with AM335x EVM resistive touchscreen

Hi,

I am running Linux from arago-daisy on AM335x EVM and I have following doubt on how QT5 detects touch on resistive screen

- QT5 is build with "-no-tslib" option that means QT5 is using evdev for identifying touch events. But evdev readme says that it doesn't support single touch devices.

"Single-touch devices reporting ABS_X and Y only are not supported by this plugin. Use tslib or evdevmouse instead"

- When AM335x EVM boots up, following environment variables are set :

export QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS="rotate=180"
export QT_QPA_GENERIC_PLUGINS="Auto"
export TSLIB_CALIBFILE="/run/media/mmcblk0p1/pointercal"
export TSLIB_TSDEVICE="/dev/input/touchscreen0"

Since "tslib" is disabled in QT5, then why "TSLIB_" variables are being set ?

Even if I do bad calibration using ts_calibrate, I don't see any impact on QT5 applications, they work fine.

That means QT5 is not relying on tslib rather using evdev for events ? Is this correct ?

regards

Ankur