免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4900 | 回复: 1
打印 上一主题 下一主题

QT4.5移植到2440的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-03-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路径是不会有问题的

论坛徽章:
0
2 [报告]
发表于 2009-03-19 16:38 |只看该作者

回复 #1 miaoronghua 的帖子

可能是底层帧缓存没有连接到的缘故但是QT2可以跑起来,那应该设备打开了,或者打开了但是被QT2占用了?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP