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. Resistive Touch Panel and Qt QML Application
Qt 6.11 is out! See what's new in the release blog

Resistive Touch Panel and Qt QML Application

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 396 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.
  • O Offline
    O Offline
    Ongsk
    wrote on last edited by
    #1

    Hi:
    I have a 7" touch panel (resistive with hdmi and usb as Digitizer) hook up with SBC loaded with Yocto (qt 5).

    I have been unable to get the touch functionality (not multi touch) work. The Yocto built included libInput (without TSLIB) . Wayland, Wayland-egl, xcb .

    I am able to open wayland console (included in the built) and close the console with touch. But not the qml code i created.

    so I down loaded qt-touchscreen-test. link text. The application ran along side evtest (with sbc debug console)

    The app is not responded to touch. But evtest at the debug console showed ,the touch panel response with the touch , and here are some of the output :

    Event: time 1622539295.983556, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
    Event: time 1622539295.983556, type 3 (EV_ABS), code 0 (ABS_X), value 3242
    Event: time 1622539295.983556, type 3 (EV_ABS), code 1 (ABS_Y), value 5716
    

    below is the evtest , selected devices is 2 (Future Designs) as Digitizer

    No device specified, trying to scan all of /dev/input/event*  
    Available devices:
    /dev/input/event0:	da9063-onkey
    /dev/input/event1:	sgtl5000-audio Headphone Jack
    /dev/input/event2:	Future Designs, Inc. ELI70-CP - Digitizer
    Select the device event number [0-2]: 
    
    

    I read some where TSLIB is not needed with libInput, am i right ?
    Do i need to set Environment for the QML App to work? If yes what variable do I need to set?

    Regards

    Simon

    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