Qt 中在什么线程中创建的对象就一定要在此线程释放改对象,不能在此线程释放彼线程的对象;否则产生错误如下:
QCoreApplication::sendEvent:"Cannot send events to objects owned by a different thread
Qt 中在什么线程中创建的对象就一定要在此线程释放改对象,不能在此线程释放彼线程的对象;否则产生错误如下:
QCoreApplication::sendEvent:"Cannot send events to objects owned by a different thread