How to call a function after every 15 seconds using QT

前端 未结 2 795
伪装坚强ぢ
伪装坚强ぢ 2020-12-15 07:25

I know my question is similar to this QUESTION but i cant find solution from there. Can anyone give a breif answer to my problem?

I have a function like this

2条回答
  •  失恋的感觉
    2020-12-15 08:05

    While you can use QTimer for checking file changes, in your case QFileWatcher might be better solution.

提交回复
热议问题