查看完整版本: [-- Did not receive a connection event from the qws server --]

QTCN开发网 -> Qt嵌入式开发 -> Did not receive a connection event from the qws server [打印本页] 登录 -> 注册 -> 回复主题 -> 发表主题

kingeat 2009-11-24 22:22

Did not receive a connection event from the qws server


在移植qtopia-opensource-src-4.3.3以后,执行./qpe -qws,
终端中出现:
   Did not receive a connection event from the qws server
    Segmentation fault


在qtopiacore/qt/src/gui/kernel/qapplication_qws.cpp文件中:

void QWSDisplay::Data::waitForConnection()
{
    connected_event = 0;

    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");
}


这个问题困扰了好久,不知道怎么解决,忘高手给点思路!

kingeat 2009-11-25 21:01
自己顶一下,这里真的没人知道么?

铃溪 2017-08-22 16:29
请问一下,你这个问题解决了吗 ?我也遇到这种问题

大漠之鹰 2017-08-23 11:25
铃溪:请问一下,你这个问题解决了吗 ?我也遇到这种问题  (2017-08-22 16:29) 

qpe不需要加qws的参数,设置好环境变量,直接执行就行

铃溪 2017-08-28 19:05
我现在还是用的qt 4.8.6的qws版本,这也真是坑,现在有两个板子一个2440和am335x,以同样的配置同样的版本移植,编译到开发板,先后启动两个qt进程,在2440上两个进程都正常,在am335上,启动第二个进程时出现  Did not receive a connection event from the qws server,应该是内核或文件系统需要什么配置吧? 哎,卡在这里好长时间了


查看完整版本: [-- Did not receive a connection event from the qws server --] [-- top --]



Powered by phpwind v8.7 Code ©2003-2011 phpwind
Gzip disabled