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. Unable to flick scroll with QT5 using tslib plugin

Unable to flick scroll with QT5 using tslib plugin

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 508 Views 1 Watching
  • 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.
  • A Offline
    A Offline
    ankurtyagi
    wrote on last edited by ankurtyagi
    #1

    Hi,
    I am trying to run QT5 based app on a 7" capacitive touch screen under Linux-3.14.46

    By default, evdev doesn't detect correct touch co-ordinates. So I enabled "tslib" support in QT5.

    Now, when I run my app with "-plugin tslib", then I see scroll-bar in my app and I get this print:
    QTsLibMouseHandler "tslib" "/dev/input/touchscreen0"

    I want to get rid of that scroll-bar in order to have flick scrolling.

    Following are my environment variables:
    export QT_QPA_EGLFS_DISABLE_INPUT="1"
    export QT_QPA_EGLFS_HIDECURSOR="1"
    export QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS="rotate=180"
    export QT_QPA_GENERIC_PLUGINS="Auto"
    export TSLIB_CALIBFILE="/etc/pointercal"
    export TSLIB_TSDEVICE="/dev/input/touchscreen0"

    Thanks for help.

    regards
    Ankur

    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