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 and TsLib event problem
Qt 6.11 is out! See what's new in the release blog

Touchscreen and TsLib event problem

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

    Hello,
    I'm using a USB touchscreen supported by the TsLib on a ARM9 architecture and GNU/Linux OS.
    sometimes, I loose the communication due to microfailure on USB.
    in this case, the TsLib return failure (return 0), but no action into Qtcore.

    the process enter in a infinite loop who take 100% of the CPU because next call to the TsRead function, return no error.

    have you a solution to catch the first error and re-open the mouse event file.
    I have saw it's possible to redefined the mouse event function, but I don't want to re write what is allready doing in the QtCore.

    Best regards

    David Pierret

    sorry for my poor english

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dguimard
      wrote on last edited by
      #2

      Hello ,

      Is it more like a recursion problem into an event loop as describe in the QtouchEvent documentation
      http://doc.qt.nokia.com/4.7-snapshot/qtouchevent.html

      ???

      Il me semble qu ' il faudrait fournir une implementation concrete la classe d'evenement ?

      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