Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Touch screen can't work using Qt5.0.2
QtWS25 Last Chance

Touch screen can't work using Qt5.0.2

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 2.6k Views
  • 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 Offline
    P Offline
    peter wang
    wrote on last edited by
    #1

    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
    0
    • P Offline
      P Offline
      prabindh
      wrote on last edited by
      #2

      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
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved