Results 1 to 3 of 3

Thread: Qt 5.4 Linux Touchscreen Input with Tslib on Raspberry Pi failing with LinuxFB QPA Pl

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2015
    Posts
    2
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default Re: Qt 5.4 Linux Touchscreen Input with Tslib on Raspberry Pi failing with LinuxFB QP

    UPDATE #2:

    I installed the event filter only to try to catch any events. I'm not sure in Qt5 what translates an event type 50 ( QSocketNotifier ) to a QTouch* or QMouse* event.

    Here is some more information:

    - When I run evtest, I see that the screen resolution is huge ( ~2500 x
    ~2500 ) and the actual screen is 320x240. I tried changed the
    /dev/fb0 framebuffer size in /boot/config.txt to 320x240 and
    rebooted. But the evtest and ts_calibrate steps still show the huge
    resolution.
    - Because of the large resolution, I tried making my main widget
    10000x10000 to see if I would get a touch or mouse event - but I
    still only get the QSocketNotifier
    - I then tried to force the tslib plugin to always inject events at
    screen position X=50 Y=50, but I still only get the event type 50
    QSocketNotifier.

  2. #2
    Join Date
    Jul 2018
    Location
    Minneapolis, MN USA
    Posts
    7
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Qt 5.4 Linux Touchscreen Input with Tslib on Raspberry Pi failing with LinuxFB QP

    Did you get this working, I am struggling with similar issues? Thanks!

Similar Threads

  1. Raspberry Pi + touchscreen
    By robal in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 24th March 2014, 12:08
  2. touchscreen tslib kernel event debugging qt application
    By sean_h in forum Qt for Embedded and Mobile
    Replies: 4
    Last Post: 14th September 2012, 07:30
  3. Touchscreen and Driver Installed but tslib Cannot Calibrate
    By phil999 in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 14th August 2012, 15:45
  4. qt tslib touchscreen y-axis reversed
    By gosk in forum Qt Programming
    Replies: 2
    Last Post: 6th September 2011, 16:19
  5. QTEmbedded tslib -> tsharc touchscreen
    By Honta in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 11th February 2009, 05:36

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.