Compileqt-2.3.10
Compileqt-2.3.10forLinux/i386platform1
Compileqt-2.3.10forLinux/ARMplatform2
Compileqt-2.3.10forLinux/i386platform
#SettingUptheLinux/i386 BuildEnvironment
#!/bin/sh
exportQTEDIR=`pwd`
exportQTDIR=$QTEDIR
./configure\
-shared\
-xplatformlinux-x86-g++\
-qvfb\
-system-jpeg\
-qt-libpng\
-depths16\
-keypad-mode\
-debug
#BuildingforaLinux/i386 TargetPlatform
Make
#RunningQTSoftware
1.RunQVFBandconfigure
qvfb&
2.Runexample
./tutorial/t1-qws
Compileqt-2.3.10forLinux/ARMplatform
#prepare
modifyconfigs/linux-arm-[share/static][-debug]LINKoption
...
SYSCONF_LINK=arm-linux-gcc
...
SYSCONF_LINK_SHLIB=arm-linux-gcc
...
replacearm-linux-gccbyarm-linux-g++
SYSCONF_LINK=arm-linux-g++
SYSCONF_LINK_SHLIB=arm-linux-g++
#SettingBuildPlatformEnvironmentVariablesforSupportingSoftware
SettheQTDIRandQTEDIRvariable
exportQTEDIR=`pwd`
exportQTDIR=$QTEDIR
#SettingUptheLinux/ARMBuildEnvironment
Usesystem'sjpeglibrary
./configure-xplatformlinux-arm-g++-no-opengl-qt-libpng-qt-zlib-no-xft-no-qvfb-L/home/opt/mx21_tools/metrowerks/b56/Embedix/home/salem/project/MX21-b56/build/dev_image/usr/lib-system-jpeg-I/work/qt/include-L/work/qt/lib-ljpeg-no-xkb-shared-release-gif
find.-nameMakefile|xargsperl-p-i-e's/-lqte/-lqte-L\/work\/qt\/lib-ljpeg/g'
#BuildingforaLinux/ARMTargetPlatform
make
#RunningQTSoftware
Mountnfsfilesystem
mkdir/work/nfs
mount-tnfs10.30.32.8:/work/work
cd/work/qt-2.3.10
SetthePlatformEnvironmentVariablesformx21targetplatform
exportQWS_MOUSE_PROTO=
exportQWS_KEYBOARD=MX21
exportQTEDIR=`pwd`
exportQPEDIR=`pwd`
exportQTDIR=`pwd`
exportPATH=$QPEDIR/bin:$PATH
exportLD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:/work/mx21/mx21_lib:./
exportLD_LIBRARY_PATH=$QPEDIR/lib:$LD_LIBRARY_PATH
exportQTOPIA_PHONE_DEVICE="sim:localhost"
Runexample
./tutorial/t1-qws