Skip to content

why tslib not working in pyqt5 application? #188

Open
@sanluku

Description

@sanluku

I can calibrate my touch screen with tslib, and generate pointercal.
And i export like this:
export TSLIB_TSDEVICE=/dev/input/event4
export TSLIB_CONFFILE=/etc/ts.conf
export TSLIB_CALIBFILE=/etc/pointercal

export QT_QPA_EGLFS_TSLIB=1
export QT_QPA_FB_TSLIB=1
export QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS=/dev/input/event4:rotate=0
export QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/plugins
export QT_QPA_PLATFORM=linuxfb:tty=/dev/fb0
export QT_QPA_GENERIC_PLUGINS=tslib:/dev/input/event4

but in my application, it's still not calibrate, it seems calibrate file didn't work.
Did i do something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions