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. Touchscreen in QT application inverted
Forum Updated to NodeBB v4.3 + New Features

Touchscreen in QT application inverted

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 1.2k 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.
  • D Offline
    D Offline
    Dominik2000
    wrote on last edited by
    #1

    Hello,

    I've written a program, which uses a touchscreen to order some things. The touchscreen is via usb connected to an raspberry. I've cross compiled the application and all worked well. The touchscreen recorgnizes the touch, but the click is inverted on the y axis.

    In many forums, especially here, you find help with set the evdev option, in the X11 10-evdev.conf, "inverty" on "on". I start the qt app -> no improvement. I set the swapaxes and tried the invertx option, to see if anything happens -> Nothing...(I have calibrated the touchscreen with evtest) Then I read, that the qt framebeuffer uses tslib. I compiled it on the raspberry and calibrated it whit xinput. I recorgnized that, when I start X and use the touchscreen it works perfect.

    I have QT 5.2.2 with the gcc raspberry toolchain and qt creator cross compiled.

    Can anyone help? The touchscreen inverts the axis but only in the qt application, in no application else...

    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