错误信息:
1>d:\qt\5.1.1\msvc2010\include\qtcore\qthread.h(138): error C2248: “QObject::operator =”: 无法访问 private 成员(在“QObject”类中声明)
1> D:\QT\5.1.1\msvc2010\include\QtCore/qobject.h(426) : 参见“QObject::operator =”的声明
1> D:\QT\5.1.1\msvc2010\include\QtCore/qobject.h(115) : 参见“QObject”的声明
1> 此诊断出现在编译器生成的函数“QThread &QThread::operator =(const QThread &)”中
错误原因:
使用线程时,没有使用指针。
改为使用指针即可。
错误原因:
使用线程时,没有使用指针。
改为使用指针即可。