Qt问题:QObject::startTimer: Timers can only be used with threads started with QThread

将普通控制台main函数改为QApplication的消息循环:

 

 

 参考:https://blog.csdn.net/wo_Niu123/article/details/104942749

posted @ 2021-12-03 15:35  朱小勇  阅读(1445)  评论(0编辑  收藏  举报