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. Timer from QML seems to be not useable

Timer from QML seems to be not useable

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

    Hello,
    I want to use the QML timer. But it works really catastrophic. If I don't do anything at the same time, only watching, the Timer works correctly. But if I moving the mouse a little bit or scrolling a listview the Timer doesn't work correctly. Then the onTriggeredEvent will be fired only after 180ms or more. Sometimes only after 200 ms.
    It's a embedded system on which the application runs with Linux Kernel OS and CPU is AM4378 from Texas Instruments

    I checked it on this way:

        Timer {
            id:timer
               interval: 100;
               running: false;
               property double timeStart: 0
               property double diff: 0
    
               onTriggered:
               {
                   diff = new Date().getTime() - timeStart
                   console.log(diff)
                   timeStart = new Date().getTime();#
                  running = true
               }
    
    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