Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Solved QQuickItem touchevent rate

    QML and Qt Quick
    2
    3
    591
    Loading More Posts
    • 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
      miguel.angel.orenes last edited by

      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 Reply Quote 0
      • jpnurmi
        jpnurmi last edited by

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

        M 1 Reply Last reply Reply Quote 2
        • M
          miguel.angel.orenes @jpnurmi last edited by

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

          many thanks.
          cheers.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post