阅读背景:

如何修复运行时崩溃——QObject::setParent:不能设置父类,新父线程在一个不同的线程中?

来源:互联网 

I have written a QT - webkit application. this application fires a callback when my pSeudo driver gets the character 'l'. However, the application crashes during a firecallback - it says - QObject::setParent: Cannot set parent, new parent is in a different thread. I don't know to fix this, I tried doing moveToThread, but it doesn't help. Please help me here.I have written a QT - webkit application. this




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: