Unsolved How to install Tslib plugin for qt 5.7
-
AFAIK, if you are using evdev, it won't use tslib to manage input.
-
@SGaist said in How to install Tslib plugin for qt 5.7:
AFAIK, if you are using evdev, it won't use tslib to manage input.
Do you know how to disable evdev?
-
@rrd0 why ?
Configure your environment to use another input plugin.
-
Cause I'm trying to use tslib instead of evdev, but I think something is wrong with my setup.
When I run
ts_test
I get perfect readings, but when I run a Qt app there's a difference between real touched point and the value read. Close to center of the screen the readings are perfect, but there's an error that accumulates and gets large near the edges. -
What settings are you using ?
-
I have Qt 5.10.1 cross-compiled to Raspberry Pi 3.
Here is my
/etc/environment
file:TSLIB_FBDEVICE=/dev/fb0 TSLIB_TSDEVICE=/dev/input/touchscreen TSLIB_CALIBFILE=/etc/pointercal TSLIB_CONFFILE=/etc/ts.conf TSLIB_PLUGINDIR=/usr/local/lib/ts QT_QPA_EGLFS_TSLIB=1 QT_QPA_EGLFS_HIDECURSOR=1 QT_QPA_EGLFS_PHYSICAL_WIDTH=144 QT_QPA_EGLFS_PHYSICAL_HEIGHT=235
-
Might be a silly question but do you have screen in landscape mode ?
-
@SGaist said in How to install Tslib plugin for qt 5.7:
Might be a silly question but do you have screen in landscape mode ?
Nope. I rotate it to portrait mode.
-
How does your system handle that ?
-
@SGaist said in How to install Tslib plugin for qt 5.7:
How does your system handle that ?
Sorry. I didn't understand that question. What exactly do you want to know?
If you want to know how I rotated the screen, it was with the command
./LCD101-1024x600-show 270
.LCD101-1024x600-show
was downloaded from https://github.com/waveshare/LCD-show.