QObject::startTimer: timers cannot be started from another thread 错误原因?
最初程序是在linux下完成并测试,没有任何问题。
但转到windows下,运行报下面的问题:
QObject::startTimer: timers cannot be started from another thread
简单说明下程序,一个界面的主线程和4个对等线程。4个线程只执行文件的操作,在结束的时候发出信号。主线程接收信号并执行槽。槽的内容是对界面的一些更新。
错误是不是跟windows线程和posix线程的差异有关??