Qt6 Tslib/Resistiv Touchscreen doesn't work!
-
I'm using a device with resistive touchscreen and upgraded Qt to 6.4.2 Version built with TSLib support enabled.
The touch is not working ! (work with Qt5.15)
I enabled some debug in both Qt and Tslib :qdemo[124]: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
qdemo[124]: qt.qpa.input: Initializing tslib plugin "tslib" ""
qdemo[124]: qt.qpa.input: tslib device is /dev/input/event0
qdemo[124]: qt.qpa.input: Initializing tslib plugin "tslib" "/dev/input/event0"
qdemo[124]: qt.qpa.input: tslib device is /dev/input/event0/dev/input/event0 is mapped to my touchscreen device and I can see event coming when I touch the screen :
qdemo[124]: RAW---------------------> 2728 1723 255 113.593623
qdemo[124]: VARIANCE----------------> 2734 1715 255
qmovebbg1 qdemo[124]: DEJITTER----------------> 2728 1707 255
qdemo[124]: BEFORE CALIB--------------------> 2728 1707 255
qdemo[124]: TS_READ----> x = 321, y = 158, pressure = 255
qdemo[124]: RAW---------------------> 0 0 0 113.632579
qdemo[124]: VARIANCE----------------> 2728 1723 0
qdemo[124]: BEFORE CALIB--------------------> 2728 1723 0
qdemo[124]: TS_READ----> x = 320, y = 157, pressure = 0
qdemo[124]: RAW---------------------> 0 0 0 113.632579
qdemo[124]: RAW---------------------> 2595 1585 255 286.506762
qdemo[124]: VARIANCE----------------> 2595 1585 255
qdemo[124]: BEFORE CALIB--------------------> 2595 1585 255
qdemo[124]: TS_READ----> x = 305, y = 167, pressure = 255
qdemo[124]: RAW---------------------> 2595 1585 255 286.506762Is it a known issue ?
-
-
-
here is more detail how I start the qdemo app:
export TSLIB_TSEVENTTYPE=INPUT
export TSLIB_TSDEVICE=/dev/input/event0export TSLIB_CALIBFILE=/etc/pointercal
export TSLIB_CONFFILE=/etc/ts.conf
export TSLIB_PLUGINDIR=/usr/lib/ts
export TSLIB_FBDEVICE=/dev/fb0
export TSLIB_CONSOLEDEVICE=noneexport QT_QPA_GENERIC_PLUGINS=tslib:/dev/input/event0
export QT_QPA_FB_TSLIB=1
export QT_QPA_FB_DISABLE_INPUT=1
export QT_QPA_PLATFORM=linuxfb
export QT_QPA_FONTDIR=/usr/share/fonts/cantarell
export QT_LOGGING_RULES=qt.qpa.input=true#/usr/bin/qdemo -plugin Tslib
the Touch is correctly calibrated by running ts_claibrate before.