首页| 论坛| 消息

标题:如何编译QTopia并加入文件系统中?
作者:lonelyghost
日期:2006-03-25 23:23
内容:

我的文件系统里的QTopia版本低了.我想换个版本高的.
请问如何编译针对ARM开发板的Qtopia,并加入到文件系统中?


#1 [lonelyghost 03-28 22:31]
自己顶啦!
希望高手赐教!
#2 [coolflowers 03-30 10:46]
我有相同的问题,怎么没人回啊
#3 [angusliu 03-30 22:35]
重新交叉编译qtopia,并把相关文件下载到目标板上相应的位置,
如果你用的qte库和目标板上的不一致,还需把qte库文件下载到目标板上
#4 [angusliu 03-30 22:36]
对了,具体需要哪些文件,你可以看看你现在的文件系统就知道了
#5 [lonelyghost 03-31 09:53]
谢谢楼上的问答!
这个问题我已经知道怎么做了。
还是谢谢你.
我参考的资料:
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

<< 1 2 >> (1/2)

回复 发表
主题 版块