Porting QT/E & QPE to VT8420
来源:互联网 发布:win10运行软件通知 编辑:程序博客网 时间:2024/04/27 20:40
Cross compiling QT/E&QPE
My target board is VT8420,arm9 core,compiler version is 3.3.2.soft version is : qt-x11-2.3.2 qte-2.3.7 qtopia-1.7.0 e2fsprogs-1.35 tmake-1.13 .System is redhat9 2.4.18-20
sources:
tar jxvf e2fsprogs.tar.bz2
tar zxvf tmake-1.13.tar.gz
tar jxvf qte.tar.bz2 (2.3.7)
tar jxvf qtopia.tar.bz2(1.7.0)
tar zxvf qt-x11.tar.gz(2.3.2)
tar zxfv jpegsrc.v6.tar.gz
unpack sources in your working dir;
working dir:/root/VT8420
export CROSSDIR=/root/VT8420
###########--------build jpeg lib-------##############
cross compiling jpegsrc
./configure --enable-shared
Make //get the libtools,then
./configure --enable-shared
modify the makefile
prefix=../qt-2.3.7
CC=zac-linux-gcc
AR=zac-linux-ar rc
AR2=zac-linux-ranlib
cp jconfig.doc jconfig.h
make
make install
then copy libjpeg.so to /zactools/..../lib/
###########--------build uuid lib-------##############
cd ../e2fsprogs
./configure
--prefix=$CROSSDIR
--enable-elf-shlibs
--build=i386-linux
--host=arm-unknown-linux
--target=arm-unknown-linux
--with-cc=zac-linux-gcc
--with-linker=zac-linux-ld
make
cd e2fsprogs/lib
mkdir $CROSSDIR/include/uuid
cp *.h $CROSSDIR/include/uuid
cp libuuid.* to /zactools/..../lib/
###########--------build qt-X11-------##############
cd qt-x11
export QTDIR=$PWD
echo yes | ./configure -static -no-xft -no-opengl -no-sm
make
mkdir ../qt-2.3.7/bin
cp bin/uic ../qt-2.3.7/bin/
cd ..
###########----------------qte.sh------------###################
#########------set envionment variables-----###################
add a script qte.sh with
export QTDIR=$PWD/qt-2.3.7
export QPEDIR=$PWD/qtopia-1.7.0
export TMAKEDIR=$PWD/tmake-1.13
export TMAKEPATH=$TMAKEDIR/lib/qws/linux-arm-g++
###here must modify tmake/lib/qws/linux-arm-g++-* TMAKE_LINKER = zac-linux-g++######
export PATH=$QTDIR/bin:$QPEDIR/bin:$TMAKEDIR/bin:$PATH
run in bash:source qte.sh
###########--------build qt/embedded-------##############
cd qt
cp ../qtopia/src/qt/qconfig-qpe.h src/tools/
(echo yes;echo no) | ./configure -xplatform linux-arm-g++ -qconfig qpe -depths 4,8,16,24,32 -system-jpeg -gif -no-xft -no-opengl
######Note: here "-xplatform linux-arm-g++" must modify the ./src/Makefile,convert the arm to zac .
make sub-src
cd ..
ps: here has some err,copy the header ( jconfig.h jmorecfg.h jpeglib.h asm/page.h ) from /usr/include to qt/include.
###########--------build qtopia-------##############
cd $QPEDIR/src/libraries/qtopia
cp custom-linux-ipaq-g++.cpp custom-linux-mips-g++.cpp
cp custom-linux-ipaq-g++.h custom-linux-mips-g++.h
cd ../../
./configure -xplatform linux-arm-g++
make
cd ../../
ps: make sure the moc you used is qt/bin/moc!!!
#############write by hhq 2006.7.19####################
- Porting QT/E & QPE to VT8420
- Porting QT/E & QPE to VT8420
- 关于Qt、Qt/E、Qtopia、qvfb、framebuffer、qpe等概念的对比介绍
- Porting to Qt 4 译文-摘自Qt文档
- Porting to Qt 4 译文-摘自Qt文档
- Porting to Qt 4 译文-摘自Qt文档
- Porting to Qt 4 译文-摘自Qt文档
- Qt、Qte、Qtopia、Qvfb、Qpe概念区别
- Qt、Qte、Qtopia、Qvfb、Qpe概念区别
- Qt + 觸控 移植 – Qt and Touch Screen Porting to SBC6446 with LEOs for DaVinci
- Porting Android to S3C6410
- Porting Lua to ARM
- How to porting webkit
- Porting LTP to Android
- Porting iperf to Android
- Porting Linux App to Windows
- porting machinations 0.34 to VC2005
- Porting FreePV to PSP (one)
- 使用ZFS的十条理由 - ZFS特性介绍
- 如何将枚举类型作为数据源绑定在一个DROPDOWNLIST上,并指定用户可见枚举的真实值是名称
- [转]dw的默认文档类型(识别ftl为html文档)
- 如何使显示的中英文转90度_Sandy33解决
- 绿色SQL Server原理(12)枚举SQLServer 标准登录账号列表
- Porting QT/E & QPE to VT8420
- 西坝豆腐
- 在ASP.NET中实现鼠标移动悬停在DataGrid时高亮显示这一行的方法
- 有高手吗?--javascipt
- Web Service的几个很重要的概念
- 对称EDS加解密方法
- ASP_NET下使用MD5加密
- Windows系统编程之异步I/O和完成端口[转]
- 改善用户体验的技术-动态缓冲