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. Troubleshooting BB-View for Beaglebone Black and QT Embedded (uncalibrated touchscreen)
QtWS25 Last Chance

Troubleshooting BB-View for Beaglebone Black and QT Embedded (uncalibrated touchscreen)

Scheduled Pinned Locked Moved Mobile and Embedded
beaglebonetouch screenqws
2 Posts 1 Posters 1.7k 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.
  • Y Offline
    Y Offline
    Yuichi_C
    wrote on last edited by
    #1

    Hi there,

    I'm currently developing software for a beaglebone black (BB) through QT.

    I'm successfully cross-compiling to the BB but I'm having issues with the touchscreen module ((BB-View 4.3 inch LCD)).

    I have tslib compiled on the BB and can run ts_calibrate and ts_test. They both function correctly and the etc/pointercal file is updated correctly.

    I compiled qt on the BB with the -qt-mouse-tslib option in the configuration. However, if I attempt to run the program with -qws, the touchscreen does not seem to be calibrated. The pointer jitters when the touchscreen is used and the axes seem to be inversed.

    I've also attempted to use the QWSCalibratedMouseHandler class, using the example provided:

    http://doc.qt.io/qt-4.8/qt-qws-mousecalibration-example.html

    It runs through the calibration but the same issues persist: the pointer jitters and the axes are inversed.

    Any advice would be greatly appreciated.

    1 Reply Last reply
    0
    • Y Offline
      Y Offline
      Yuichi_C
      wrote on last edited by
      #2

      Replying to myself as I've found the solution. If other people face the same issue they may find this to be the fix.

      under /etc/environment I had the line: QWS_MOUSE_PROTO="Tslib:/dev/input/event1"

      However, this didn't seem to work. I'm not entirely sure why, I'll probably look into it.

      If, however, I use: export QWS_MOUSE_PROTO="Tslib:/dev/input/event1" , and then run the application, it functions correctly.

      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