I’m trying to create a periodic callback using QT. I’m thinking, something like OpenGL’s periodic callback.
Basically, I have a micro controller which is waiting for an event to happen. When the event Happens it sends the time over the serial port to the PC. On the PC side, I want the GUI to update whenever this time information is received, or to periodically check to see if there is anything in the Rx buffer.
Have a look at QTimer. They also list an example of an analog clock