Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to "compensate" for touch lag time?
Qt 6.11 is out! See what's new in the release blog

How to "compensate" for touch lag time?

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 981 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.
  • S Offline
    S Offline
    SteveG
    wrote on last edited by
    #1

    I have a QML app with objects moving around the screen that I'm creating with Qt 5.4 and Qt Creator 3.3.0 and I want to be able to destroy or change an object when it's touched. When I run the app on Windows 8 and click the objects with the mouse, everything works as expected. However, when I run the same app on an Android device and touch the objects, I'm experiencing some problems due to touch lag time (i.e., a delay between the time the screen is touched and the time a signal/event is recognized by the device). This lag delay apparently occurs on every mobile device and is usually in the 50-300 msec range, depending upon the device, and also appears to vary over time based on both software and hardware factors. The problem seems to be more pronounced when the objects more more quickly. Is there any way for QML or Qt to compensate for this lag time on mobile devices? Is there anything I can do?

    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
    • Unsolved