找回密码
 注册
搜索
查看: 1049|回复: 4

[讨论] 成功移植QT到OMAP3530评估套件-DevKit8000上

[复制链接]
发表于 2009-4-29 17:46:12 | 显示全部楼层 |阅读模式
在OMAP3530评估套件上移植了一个QT,现在把移植的方法总结如下:
一、环境简述:
1.1 硬件开发环境:
板子名称:DevKit8000
硬件特性
1)cpu:omap3530
2)ram:128M
3)flash:128M
板卡特性
供应商:天漠科技 http://www.timll.com
DevKit8000 技术WIKI: http://elinux.org/DevKit8000
DevKit8000 产品网页: http://www.timll.com/products/Devkit8000.asp
1.2软件开发环境
1)ubuntu 8.04
2)qtopia-core-opensource-src-4.3.5
3)arm-none-linux-gnueabi-2007q3
二、编译
2.1 准备工作
1.        tar xvf qtopia-core-opensource-src-4.3.5.tar.gz
2.        cd qtopia-core-opensource-src-4.3.5
修改mkspecs/qws/linux-arm-g++/qmake.conf文件,替换所有arm-linux为arm-none-linux-gnueabi
2.2配置
1.        ./configure -embedded arm -xplatform qws/linux-arm-g++ -depths 4,8,16,32 -no-qt3support -prefix ${HOME}/work/qt/target -fast -qt-sql-sqlite -no-libtiff -no-libmng -qt-libjpeg -qt-zlib -qt-libpng -qt-freetype -optimized-qmake -no-nis -no-separate-debug-info -no-qvfb -qt-gfx-linuxfb -no-gfx-qvfb -qt-kbd-usb -no-kbd-qvfb -no-mouse-qvfb -no-mouse-linuxtp -qt-mouse-pc -qt-mouse-tslib
2.3编译&安装
1.        make
2.        make install
三、测试
3.1准备
1)拷贝${HOME}/work/qt/target/lib目录到开发板下/opt/qtopia目录下
2)删掉/opt/qtopia/lib/fonts目录下多余的字体文件(只留下cour.pfa 和 cursor.pfa)
3)设置环境变量:
export QTOPIA=/opt/qtopia
export LD_LIBRARY_PATH=$QTOPIA/lib:$LD_LIBRARY_PATH
export PATH=$QTOPIA/bin:$PATH
export QWS_MOUSE_PROTO=tslib:/dev/input/event1
export QWS_DISPLAY="LinuxFb:mmWidth100:mmHeight130:0"
export TSLIB_TSDEVICE=/dev/input/event1
export TSLIB_PLUGINDIR=/lib/ts
3.2运行
拷贝${HOME}/work/qt/target/examples/tutorial/t1/t1到开发板下/opt/qtopia/bin目录下,并运行下列程序:
/opt/qtopia/bin/t1 -qws(显示 helloworld界面)
【本文原载:DevKit8000开发WIKI: http://elinux.org/DevKit8000_QT 】
 楼主| 发表于 2010-8-24 16:38:22 | 显示全部楼层
[em05]目前已经可以跑andriod2.1了[em05]
点评回复

使用道具 举报

发表于 2010-10-13 21:27:34 | 显示全部楼层
牛啊,LZ有资料吗?
点评回复

使用道具 举报

发表于 2010-12-8 13:36:32 | 显示全部楼层
资料不错,谢谢楼主啦
本文来自:我爱研发网(52RD.com) - R&D大本营
详细出处:http://www.52rd.com/bbs/Detail_RD.BBS_159087_38_1_1.html
点评回复

使用道具 举报

发表于 2010-12-13 20:09:32 | 显示全部楼层
我们现在也在用QT开发简单的功能测试软件,希望LZ能提供详细点的资料。
点评回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies

本版积分规则

Archiver|手机版|小黑屋|52RD我爱研发网 ( 沪ICP备2022007804号-2 )

GMT+8, 2024-10-9 03:32 , Processed in 0.044657 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表