Use a QTimer and set its interval to 1000.
Then every second timeout signal gets fired and you can update(in the slot connected to timeout()) your timeline.