主题 : 用qtcreator1.3编译自带的Demos时运行出错 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 15570
精华: 0
发帖: 28
金钱: 140 两
威望: 28 点
综合积分: 56 分
注册时间: 2010-03-07
最后登录: 2010-06-28
楼主  发表于: 2010-04-10 20:48

 用qtcreator1.3编译自带的Demos时运行出错


我用qtcreator1.3编译自带的Demos
运行程序./mainwindow出现错误
QWSocket::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.
然后我 ./mainwindow-qws也出现了错误
Error opening framebuffer device /dev/fb0
QScreenLinuxFb::connect: No such file or directory
不知道怎么解决?谢谢了
级别: 新手上路
UID: 69565
精华: 0
发帖: 26
金钱: 130 两
威望: 26 点
综合积分: 52 分
注册时间: 2012-05-08
最后登录: 2013-05-16
1楼  发表于: 2012-11-09 13:53
先打开qvfb, 然后可以运行examples/下的测试程序如:
./undoframework -qws