Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-109644

It seems that the QTimer can not accurately time

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 6.4.0
    • Other
    • None
    • WebAssembly

    Description

      Use the following code to start timing:

      timer = new QTimer(this);

      connect(timer, SIGNAL(timeout()), this, SLOT(qtimeSlot()));

      timer->start(1000);

       

      Problem:

      The timing printing completely exceeds the set timing interval, and the actual interval is very long.

      Attachments

        1. CompiledFile.zip
          8.27 MB
        2. TestQTimer.zip
          5 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mikolaj.boc Mikołaj Boc (Inactive)
            jfccg JIEBIN CAO
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes