Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QQuickItem touchevent rate

QQuickItem touchevent rate

Scheduled Pinned Locked Moved Solved QML and Qt Quick
3 Posts 2 Posters 1.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.
  • M Offline
    M Offline
    miguel.angel.orenes
    wrote on last edited by
    #1

    I can see on my App, based on QtQuick, a low touch event rate per second(~60).
    I have created a parallel App based on QWidget and I could get a touch event rate per second ~170.

    Both apps are very simple, I have coded a QQuickItem/Qwidget, overriding touchEvent/event method and count the number of TouchUpdate events per second I am getting.

    BTW, in case of manage mouse events, I am getting more or less the same event rate per second in both: ~150.

    Is there a way to rise the touch event rate on a QtQuick based app?

    1 Reply Last reply
    0
    • jpnurmiJ Offline
      jpnurmiJ Offline
      jpnurmi
      wrote on last edited by
      #2

      Try running your app with QML_NO_TOUCH_COMPRESSION=1 environment variable set.

      M 1 Reply Last reply
      2
      • jpnurmiJ jpnurmi

        Try running your app with QML_NO_TOUCH_COMPRESSION=1 environment variable set.

        M Offline
        M Offline
        miguel.angel.orenes
        wrote on last edited by
        #3

        @jpnurmi That is what I needed. Now, I am getting around 150 events per second.

        many thanks.
        cheers.

        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