We had to change from "buildroot-2016.05-fsimx6sx-V2.1" to "buildroot-2019.05.3-fsimx6sx-B2019.11.1" because of the new ethernet chips and with the new filesystem it seems that Qt 5.12 doesn't get the file from pointercal calibration. Touch calibration works correctly with ts_test but not in QT.
Environment Variables:
DISPLAY=:0
FB_MULTI_BUFFER=2
QT_EGLFS_IMX6_NO_FB_MULTI_BUFFER=2
QT_QPA_EGLFS_DEPTH=32
QT_QPA_EGLFS_DISABLE_INPUT=1
QT_QPA_EGLFS_HEIGHT=800
QT_QPA_EGLFS_HIDECURSOR=0
QT_QPA_EGLFS_WIDTH=1280
QT_QPA_FB_TSLIB=1
QWS_MOUSE_PROTO=tslib
TSLIB_CALIBFILE=/etc/pointercal
TSLIB_CONFFILE=/etc/ts.conf
TSLIB_CONSOLEDEVICE=/dev/tty
TSLIB_FBDEVICE=/dev/fb0
TSLIB_PLUGINDIR=/usr/lib/ts
TSLIB_TSDEVICE=/dev/input/event1
Application call:
./myapp --platform eglfs --plugin Tslib