免费注册 查看新帖 |

Chinaunix

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

Qtopia1(arm-qt with xml) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-03-30 10:17 |只看该作者 |倒序浏览

Qtopia1(arm-qt with xml)
1. in one the my printed article: web-hotdog4/mpalyer porting
they use cp /dev/fb0 myimage, and cp myimage /dev/fb0, which works on my platform(I issue it in busybox hyper termional), I am happy, but the updated picture is not good, one day I will put the commmand in /etc/init.d/rc.S and see what is gong to happen.
2. write shell script on ARM(yctek sys)
a)       #/bin/sh!
b)      Mkdir /hello
c)      Chmod a+x hello
d)      ./hello
3. I delete all the folder name in /etc/linuette/start, then all icons on arm desktop are gone. I mkdir peter here and reboot, then my name is there on arm desktop, it is exciting!

4. export set LD_LIBRARY_PATH=/usr/qt/lib:/usr/linuette/lib works on my board
/usr/linuette/bin # ./alarm
the conmand works, after my export…but I see nothing on the screen
5. now we know –qws is for:
/usr/linuette/bin # ./calibrate
No Qt/Embedded server appears to be running.
If you want to run this program as a server,
add the "-qws" command-line option.
/usr/linuette/bin # ./calibrate –qws
6. QTDIR is recognized on my board
Cannot find font definition file /usr/local/qt-embedded/etc/fonts/fontdir - is $
QTDIR set correctly?
Cannot find font definition file /usr/qt/lib/etc/fonts/fontdir - is $QTDIR set c
orrectly?
7. in the recover_system_pakage/etc/init.d/ there is another rc.S(outside /root-qt-1.0-tar.gz)
obviously this one runs before the one in qt-tar, because there is a line
/sbin/ifconfig eth0 192.168.1.230
but at last the ip of ARM is 1.6, changed by the rc.S in qt-tar
8.so accroding to web7/sbc2410 D.G/p54. if I compiled hello successfully, then I export
LD_LIBRARY_PATH=/usr/qt/lib:/usr/linuette/lib
QTDIR
QTEDIR
./hello –qws will work
so I will have a try.
8./usr/etc/profile
#!/bin/sh
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/qt/bin:/linuette/bin
LD_LIBRARY_PATH=/lib:/usr/lib:/qt/lib:/linuette/lib
QTDIR=/qt
LINUETTEDIR=/linuette
QWS_KEYBOARD=TTY
LANG=zh_CN
TERMINFO_DIRS=/usr/etc
export PATH LD_LIBRARY_PATH QTDIR LINUETTEDIR QWS_KEYBOARD LANG TERMINFO_DIRS





本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/56913/showart_511725.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP