Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How can I implement more accurate timer?
-
I found that QTimer is not triggered exactly every interval I set. Rather, someone said that it only ensures that it does not fire less than interval. (this post)
I need a quite accurate timer. Is there a way to set priority or force it to be fired every exact interval?
-
timer->setTimerType(Qt::PreciseTimer); works perfect!