1. 编译X86版本的Qt4.5
2. 安装QCreater-->添加环境变量(该步骤我参考的arm版本,添加的是__install-->x86-->bin-->qmake)-->打开任意一个工程文件-->改为指定Qt release -->
Built Project “XXXXXX” -->出现Exited with code 0.
说明已经编译成功。然后运行可执行程序。
运行可执行程序:Build-->run 出现错误提示
Starting /home/qt-book/chap01/hello/hello...
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.
/home/qt-book/chap01/hello/hello exited with code 1
为什么?