搜索墙首页  编程技术  java  asp  ajax  php  c/c#/c++  数据库  oracle  mysql  db2  操作系统  windows  linux  股吧
首页 > 操作系统 > 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);
 1         
您的发言将按有关规定都会存档,您须为所发表后果负责,请您遵纪守法并注意语言文明。
标题: QT4.5移植到2440的问题
热门关注
标题回复点击
将 Puppy Linux 4.00 安装在U盘里 打造随身系统2692
gcc glibc kernel 版本兼容性 reference0682
《嵌入式Linux应用程序开发详解》CU完整版127422
嵌入式?? 下??料?? 索引 (?迎??添加) [更新:07/24/2008]5412
求助大侠们 Warning: unable to open an initial console43394
DIY?2328
分享几个关于嵌入式Linux的资料125328
iwpriv 命令使用4313
[保留]2287
QT4.5移植到2440的问题2277
搜索墙@2009 www.pkwall.com all rights reserved QQ:276471788 [京ICP备09111534号]
声明:本站部分数据来源于网络,仅供参考,如有版权问题,请联系我们,我们将及时删除!转载本站请注明来源