Touch screen can't work using Qt5.0.2

    When I use Qt5.0.2 on am3358, I found the touch screen can't work. when touched the screen, it didn't respond. I compile the tslib and qtslib plugins.

    My /etc/profile is:

    export TSLIB_TSDEVICE=/dev/event2

    export TSLIB_CALIBFILE=/etc/pointercal

    export TSLIB_CONFFILE=/etc/ts.conf

    export TSLIB_PLUGINDIR=/opt/ti/tslib/lib/ts

    export TSLIB_CONSOLEDEVICE=/dev/tty1

    export TSLIB_FBDEVICE=/dev/fb0

    export QTDIR=/opt/ti/qt-5.0.2

    export QT_QPA_PLATFORM_PLUGIN_PATH=/opt/ti/qt-5.0.2/plugins

    export QT_QPA_PLATFORM=linuxfb:tty=/dev/tty1

    export QT_QPA_FONTDIR=/opt/ti/qt-5.0.2/lib/fonts

    export QT_QPA_GENERIC_PLUGINS=tslib:/dev/event2

    export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/opt/ti/tslib/bin:/opt/ti/qt-5.0.2/bin

    export LD_LIBRARY_PATH=/lib:/usr/lib:/opt/ti/tslib/lib:/opt/ti/qt-5.0.2/lib

    May I missing something?

  • Did you try a ts_calibrate first ? Is /dev/event2 the right input event ? Post the logs when you are running the application, along with the command.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.