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. QTimer and QBasicTimer unstable on RTLinux
Qt 6.11 is out! See what's new in the release blog

QTimer and QBasicTimer unstable on RTLinux

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 2.4k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    I'm using qt4.6.4 on RTLinux,but I found the qt timers such as QTimer and QBasicTimer are unstable an inaccurate.
    Usually,these timers run normally on common kernels,but once I start the RTLinux kernel ,then the timers run in different speed.
    For example,I set a timer to send timeout signal every 1 seconds,it may expires about every 10ms on RTLinux kernel. And whether the focus is on this window also affects the timers,if focus is on this window,then it runs faster,otherwise it may run at the right speed. Each time I click the blank area of this window,the timer also runs much faster,the expire speed seems equal to the speed I click the window.
    My hadware is common x86 cpu,OS platform is linux kernel 2.4+RTlinux 3.2, running QT4.6.4 for X on Xfree86.QT for Embedded also have the same problem on this platfrom.
    Have anyone found the same problem?

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      s me too found bro wats d solution

      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