首页 > 问答 > 正文
错误信息如下:`QObject: Cannot create children for a parent that is in a different thread.(Parent is QTextDocument(0x27e4150), parent's thread is QThread(0xc306a0), current thread is QThread(0xc0eca0)`求解。。有没有遇到这种问题情况?
天蓬老师2017-06-12 09:28:25
GUI相关的对象不能在非GUI的线程创建和使用,是非线程安全的