• 5669阅读
  • 7回复

如何编译QTopia并加入文件系统中? [复制链接]

上一主题 下一主题
离线lonelyghost
 
只看楼主 倒序阅读 楼主  发表于: 2006-03-25
我的文件系统里的QTopia版本低了.我想换个版本高的.

请问如何编译针对ARM开发板的Qtopia,并加入到文件系统中?
[ 此贴被XChinux在2006-03-26 00:08重新编辑 ]
离线lonelyghost
只看该作者 1楼 发表于: 2006-03-28
自己顶啦!
希望高手赐教!
离线coolflowers
只看该作者 2楼 发表于: 2006-03-30
我有相同的问题,怎么没人回啊
离线angusliu

只看该作者 3楼 发表于: 2006-03-30
重新交叉编译qtopia,并把相关文件下载到目标板上相应的位置,
如果你用的qte库和目标板上的不一致,还需把qte库文件下载到目标板上
离线angusliu

只看该作者 4楼 发表于: 2006-03-30
对了,具体需要哪些文件,你可以看看你现在的文件系统就知道了
离线lonelyghost
只看该作者 5楼 发表于: 2006-03-31
谢谢楼上的问答!
这个问题我已经知道怎么做了。
还是谢谢你.

我参考的资料:
8.把qpe放入文件系统
%arm-linux-strip -R .note -R .comment bin/*
###################################################################
arm-linux-strip: bin/qpe-refresh-links: 不可识别的文件格式
arm-linux-strip: bin/qpe-reorgfiles: 不可识别的文件格式
arm-linux-strip: bin/qtopia-addmimetype: 不可识别的文件格式
arm-linux-strip: bin/README: 不可识别的文件格式
###################################################################
把上述四个文件先剪切出去
%arm-linux-strip -R .note -R .comment bin/*
%arm-linux-strip -R .note -R .comment $QTDIR/lib/libqte.so* $QTDIR/lib/libqpe.so*
%arm-linux-strip -R .note -R .comment plugins/*/*
###################################################################
arm-linux-strip: plugins/applets/README: 不可识别的文件格式
arm-linux-strip: plugins/codecs/README: 不可识别的文件格式
arm-linux-strip: plugins/fontfactories/README: 不可识别的文件格式
arm-linux-strip: plugins/inputmethods/README: 不可识别的文件格式
arm-linux-strip: plugins/network/README: 不可识别的文件格式
##################################################################
delete the five README
%arm-linux-strip -R .note -R .comment plugins/*/*



%mkdir dist
%cd dist
%cp -aR ../qt-2.3.2/lib/ .
%cp -aR ../qtopia-free-1.5.0/apps .
%cp -aR ../qtopia-free-1.5.0/bin .
%cp -aR ../qtopia-free-1.5.0/plugins .
%cp -aR ../qtopia-free-1.5.0/i18n .
%cp -aR ../qtopia-free-1.5.0/pics .
%cd pics
#Security.png is wrong, pls do as following:  
%pngtopnm Security.png>a.pnm
%pnmtopng a.pnm>Security.png
%cp tslib/bin/* dist/bin
remain sitsang_fs/usr/qpe/etc and /share
%cp -aR dist/* sitsang_fs/usr/qpe/
%./mkfs.jffs2 -r /home/sitsang/tmp/sitsang_fs/ -o sitsang_fs_newV.jffs2 -e 0x40000 --pad=0x03300000
离线lonelyghost
只看该作者 6楼 发表于: 2006-03-31
哎,这个论坛高手比较少,还是高手不想回答问题啊!
哎……
离线lonelyghost
只看该作者 7楼 发表于: 2006-04-12
人气很旺啊!
快速回复
限100 字节
 
上一个 下一个