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
Forum Updated to NodeBB v4.3 + New Features

Timer from QML seems to be not useable

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 242 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 9 Feb 2018, 09:40 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

    1/1

    9 Feb 2018, 09:40

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved