Is it possible to call a function periodically in C++ with Qt function ? And how to stop the timed function after it is set to be called periodically ?
As people have said in answers before me, you can use the timeout() signal to trigger a function to run.
If you want to stop the timer at some point, you can connect to the stop() slot, or call it directly yourself.