Ts_calibrate in latest imx6 apalis

Dear all,

I’d like to make a calibration using the ts_calibrate utility. Unfortunately I don’t find it even though I add libts and ts-test to yocto build. For my application I removed X11 and LXDE I’m actually using a single windows application made in Qt.

Can anyone help me out?

Thank you

The ts_calibrate has its own package. Just add tslib-calibrate to your image.

To use tslib with Qt, you have to build in the tslib support: PACKAGECONFIG_append_pn-qtbase = " tslib".

Additionally, you may have to set some environment vars for Qt. For our Colibri iMX6, I needed:

  • QT_QPA_EGLFS_TSLIB=1
  • TSLIB_TSDEVICE=/dev/input/touchscreen0