在移植qtopia-opensource-src-4.2.4以后,点击触摸屏,终端中出现:Did not receive a connection event from the qws server。
而且QT无法响应触摸屏的点击事件.
“Did not receive a connection event from the qws server”这条语句在以下文件中打印出来
在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");
}
这个问题困扰了好久,不知道怎么解决,忘高手给点思路!