How to cause exact cycle like Thread to occur in QML?
Unsolved
QML and Qt Quick
-
qt 5.15
hello.
Is there a way to use it like a Thread concept in QML?
For example, I have the Timer record the time periodically as shown below, but the problem is that when a lot of mouse events occur, there is a time delay. I want to solve this.
The event must occur at the correct period.Timer { interval: 100; running: true; repeat: true onTriggered: { currentTime = new Date() console.log(currentTime.getSeconds() + ":" + currentTime.getMilliseconds()) } }
Like the repeat function of the button
Is there any way to process events of the correct period in QML?