Results 1 to 3 of 3

Thread: Raspberry Pi + touchscreen

  1. #1
    Join Date
    Nov 2013
    Posts
    2
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android

    Angry Raspberry Pi + touchscreen

    Hi

    I'm writting application using 5.1.1 version on Pi (Qt is native build from sources done on Pi). I have connected touchscreen via USB and got some problems in application. Touchscreen is working on Pi (Wheezy) UI without any problems, but when my application is started it begins to work crazy. Application seems to detect touchscreen, but mouse cursor with touch screen is moved very fast, seems to be something wrong with calibration, application changed it somehow. I was trying to use tslib in different ways (like use calibration functionality inside application), calibrate touchscreen using tslib tests programs outside and use calibration file in application - no success. When application starts, touchscreen works verys strange (very fast moves). I'm using big display (TV 50") for that, so maybe here is some problem? (but why rest of system works fine)? I was also trying to run samples from Qt and the same effect, mosue cursor is going crazy with touchscreen. Any help would be very appreciated. Application is using QML and is started in fullscreen mode.

    Robert

  2. #2
    Join Date
    Nov 2013
    Posts
    2
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android

    Default Re: Raspberry Pi + touchscreen

    Maybe some hint - i've noticed that touch coordinates are fine, so only movement of cursor using touchpad is wrong. When application starts it has 30dpi dots per inch (could cause such problems?). I don't know where i should start looking for problems, driver for touchpad seems to work fine if it works on Pi desktop. So, some problem in Qt? But where i should start to search?

  3. #3
    Join Date
    Nov 2011
    Posts
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Maemo/MeeGo

    Default Re: Raspberry Pi + touchscreen

    It's possible this patch might help, although I'm not sure:

    https://codereview.qt-project.org/#change,81593

Similar Threads

  1. Qt5 on Raspberry Pi EGLFS wrong screen resolution
    By 1994rstefan in forum Qt Programming
    Replies: 3
    Last Post: 21st June 2017, 15:06
  2. Raspberry Pi toolchain problem
    By dellboy in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 21st November 2012, 14:43
  3. Localization - shortDayName - Raspberry Pi
    By scls19fr in forum Qt Programming
    Replies: 0
    Last Post: 25th October 2012, 17:18
  4. touchscreen
    By jcr in forum Qt Programming
    Replies: 3
    Last Post: 15th April 2010, 19:54
  5. touchscreen API
    By rbp in forum Qt Programming
    Replies: 9
    Last Post: 20th November 2008, 11:09

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.