分类: LINUX
2008-05-06 15:32:38
1.软硬件环境
System:redhat9 gcc:
Qt:
Cross-linux:
2.软件环境配置
For x86
2.1配置qt
export QTDIR=/root/tool/qt-
export PATH=$QTDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib
./configure -shared -no-xft
应用:desinger界面设计 qvfb针缓冲模拟 uic程序生成
2.2配置qte-
export QTDIR=/root/tool/qt-
export PATH=$QTDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib
./configure
应用:代码编写,findtr查找tr msg2qm翻译i18n
2.3配置tmake1.11
export TMAKEDIR=/root/tool/tmake-1.11
export TMAKEPATH=$TMAKEDIR/lib/qws/linux-x86-g++
export PATH=$TMAKEDIR/bin:$PATH
应用:生成Makefile文件
For arm
2.4配置qte-
export QTDIR=/opt/arm-
export PATH=$QTDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib
./configure -shared -qconfig local -xplatform linux-arm-g++
应用:生成arm的qte程序
2.5配置tmake1.11
export TMAKEDIR=/root/tool/tmake-1.11
export TMAKEPATH=$TMAKEDIR/lib/qws/linux-arm-g++
export PATH=$TMAKEDIR/bin:$PATH
2.6配置 arm-linux
export PATH=/usr/local/arm/