各位前辈:
昨天一晚上编译并安装好了QT-Embedded-Linux和 QT-X11,
测试了一下他自带的程序:
#cd ${QTEDIR}/demos/chip
# qvfb &
# ./chip -qws
可以看到这个例程的图像了。
以上是按着
http://hi.baidu.com/armlinuxhouse/blog/item/c2fb91ca42b0811d7f3e6f10.html这个帖子装的,
但是接下怎么使用QT呢,或者说使用QT的开发流程是怎么样的呢?我看到在QT的安装目录/usr/local/Trolltech/QtEmbedded-4.5.3/bin里面有个:designer,这个不是QT的IDE吗?我在shell里直接运行:#designer
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.
No Qt for Embedded Linux server appears to be running. 这个是什么意思,我要将开发板连接到电脑才能使用吗?
根据他的提示,加上-qws,他提示:
QScreenLinuxFb::connect: No such file or directory
Error opening framebuffer device /dev/fb0
。。。。。。。。。
QScreenLinuxFb::connect: No such file or directory
Error opening framebuffer device /dev/fb0
Error opening framebuffer device /dev/fb0
Segmentation fault
这个错误提示是什么意思呢?
综上:我还不懂用QT开发嵌入式程序的原理。
清前辈指点。
刚才有仔细想了下,在运行dedigner -qws之前,先运行qvfb &。成功!
是不是就在那个弹出来的小窗口里开发程序呢?
[ 此帖被ytu_cyc在2009-10-25 09:30重新编辑 ]