Thank you for your reply.
Quote Originally Posted by anda_skoa View Post
That is strange.
Can you try writing the timestamp to a file instead of appending to the text edit?
This make no difference, the QTimer will be stopped when the session is locked.

Maybe also try doing the same with a QCoreApplication and no UI at all, just to see if that has any impact.
Okay this works like expected and the QTimer works in the background. Is this a bug which should be reported?