纯粹初始状态的Tiny210V2的板子和linux环境。
在Fedora9下的QT4.7做的界面小程序,传输到开发板上。先手动停掉Qtopia2.2,在com1上总是出现下面的结果。
[root@FriendlyARM fa]# ./hello
QWSSocket::connectToLocalFile could not connect:: No such file or directory
QWSSocket::connectToLocalFile could not connect:: No such file or directory
QWSSocket::connectToLocalFile could not connect:: No such file or directory
QWSSocket::connectToLocalFile could not connect:: No such file or directory
QWSSocket::connectToLocalFile could not connect:: No such file or directory
QWSSocket::connectToLocalFile could not connect:: No such file or directory
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.
必须乖乖加上"-qws" 才能正常运行。
网上搜索这个出错信息,看到错误的原因是环境配置不够完整,比如这个博客的解释。
http://blog.csdn.net/armeasy/article/details/5932249但实在写了是太多步骤了,菜鸟看不懂。请问出厂环境是少了哪一些配置操作才导致任何QT程序必须加上"-qws" 呢?