Qt问题:QObject::startTimer: Timers can only be used with threads started with QThread
将普通控制台main函数改为QApplication的消息循环:
参考:https://blog.csdn.net/wo_Niu123/article/details/104942749
长风破浪会有时,直挂云帆济沧海!
可通过下方链接找到博主
https://www.cnblogs.com/judes/p/10875138.html