Qt-embedded的qws参数不起作用

时间:2010-09-22 00:36:10

标签: qt

我为Qt-embedded创建了一个基本的Qt应用程序但是当我使用-qws参数在目标平台上执行该应用程序时,总会出现一条错误消息,请参阅下面的内容,

#./test_app -qws
QWSSocket::connectToLocalFile could not connect:: Connection refused QWSSocket::connectToLocalFile could not connect:: Connection refused QWSSocket::connectToLocalFile could not connect:: Connection refused QWSSocket::connectToLocalFile could not connect:: Connection refused QWSSocket::connectToLocalFile could not connect:: Connection refused QWSSocket::connectToLocalFile could not connect:: Connection refused
No Qt for Embedded Linux server appears to be running. If you want to run this program as a server, add the "-qws" command-line option. terminate called without an active exception Aborted

请建议。

感谢。

1 个答案:

答案 0 :(得分:1)

  • “test_app”再次链接qt / embedded?
  • 什么打印“strace ./test_app”
  • 你玩过LD_DEBUG-environmnt变量吗?