![]() |
| 首页 > 操作系统 > linux > linux嵌入式开发 |
1
1楼 miaoronghua 2009-3-19 16:24 环境:硬件:2440
平台:ubuntu QT4.5-X11 QT4.5-EMBEDDED-X86 QT4.5-EMBEDDED-ARM 都编译成功,都支持QVFB ARMLINUX-2.6.13 目前采用NFS挂载文件系统方式 状态:将X86的DEMO/MAINWINDOW在QVFB中间跑一下,没问题 重新交叉编译一下,no error no warning 将QT4.5 for embedded arm的LIB 复制到了板子的目录下,在板子上运行./mainwindow 出现如下错误: [root@EmbedSky /root]# ./mainwindow 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? 迷信一下 ./mainwindow -qws 出现如下错误: ./mainwindow: relocation error: /usr/local/Trolltech/QtEmbeddedARM/lib/libQtGui.so.4: symbol __floatsisf, version GCC_3.0 not defined in file libgcc_s.so.1 with link time reference 请问是GCC版本过低吗? 没有思路,请各位帮忙了 当然中间还有许多库连接不到的情况,都已经搞定了,LIB路径是不会有问题的 2楼 miaoronghua 2009-3-19 16:38 可能是底层帧缓存没有连接到的缘故但是QT2可以跑起来,那应该设备打开了,或者打开了但是被QT2占用了?
3楼 114.249.124.* 2010-05-04 17:39:45 缂哄?Qt for Embedded Linux??繁??erver杩??锛??浣?唬?????Application app(argc, argv锛?;娣诲?绗??涓????Application::GuiServer ?冲?涓?舰寮?
QApplication app(argc, argv, QApplication::GuiServer);
搜索墙@2009 www.pkwall.com all rights reserved QQ:276471788 [京ICP备09111534号]
声明:本站部分数据来源于网络,仅供参考,如有版权问题,请联系我们,我们将及时删除!转载本站请注明来源
| ||||||||||||||||||||||||||||||||||||||||||||