首页
系统
动态
电子资讯
硬件
数码
软件介绍
网络软件
系统工具
应用软件
图形图像
多媒体
编程开发
字体下载
登录
标签
notifiers
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another
在使用Qt开发多线程、socket通讯功能时,遇到以下两个问题: QSocketNotifier: Socket notifiers cannot be enabled or disabled
Socket
QSocketNotifier
notifiers
disabled
enabled
admin
5小时前
8
0
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread报错
将QTcpSocket的对象移到子线程以后,只要想write数据,直接调用也好,搞个信号与槽也好,都会出现这个提示: QSock
报错
notifiers
Socket
QSocketNotifier
thread
admin
5小时前
7
0
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
如果建立tcp连接的套接字所在的线程是A,然后你通过B线程调用了这个已经建立连接的套接字,这种情况在Qt中会发现是write()函数返回发送的数据字节数量,但是接收端却收不到
notifiers
Socket
QSocketNotifier
thread
disabled
admin
5小时前
7
0