Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Touch screen can't work using Qt5.0.2

    Mobile and Embedded
    2
    2
    2463
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      peter wang last edited by

      HI EVERYONE:
      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?
      thinks!

      1 Reply Last reply Reply Quote 0
      • P
        prabindh last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post