QObject: Cannot create children for a parent that is in a different thread.
(Parent is QNativeSocketEngine(0x849ba8), parent's thread is thClientEntity(0x84e058), current thread is QThread(0x844258)
我主线程用了子线程生成的tcpsocket对象就出现上面的话,按理说出了上面的错误提示,为什么依然成功执行了发送操作呢?
再问下, 调用子线程的tcpsocket对象read方法没问题,为什么调用write反而出上面的问题啊, 按说应该只要用了就会报错啊