This is your resource to discuss support topics with your peers, and learn from each other.
Is there a way to run the qtimer forever so that it calls a function after a specified interval of time?
Go to Solution.
QTimer *timer = new QTimer(this);
connect(timer, SIGNAL(timeout()), this, SLOT(update()));
update() slot will be called every second.
QTimer docs have more samples & information:
View solution in original post