for (int i = 0; i < 5; i++) { fillQueue(); if (connected_event) return; csocket->flush(); csocket->waitForReadyRead(1000); } csocket->flush(); if (!connected_event) qFatal("Did not receive a connection event from the qws server"); }
我现在还是用的qt 4.8.6的qws版本,这也真是坑,现在有两个板子一个2440和am335x,以同样的配置同样的版本移植,编译到开发板,先后启动两个qt进程,在2440上两个进程都正常,在am335上,启动第二个进程时出现 Did not receive a connection event from the qws server,应该是内核或文件系统需要什么配置吧? 哎,卡在这里好长时间了