[转] “QObject调用moveToThread()后 该如何释放”及QThread 的启动关闭
QThread*thread=newQThread();Task*task=newTask();task->moveToThread(thread);connect(thread,SIGNAL(started()),task,SLOT(doWork()));connect(task,SIGNAL(workFinished()),thread,SLOT(quit()));//从Qt4.4开始,qth