在build_all脚本里
改成如下
$cat build-all | more
#/bin/bash
export PATH=$PATH:/home/bigfish/work/crosstool_build/output/bin/arm-linux-gcc
export TOOLCHAIN=/home/bigfish/work/crosstool_build/output/
export PKG_CONFIG_PREFIX=$TOOLCHAIN/arm-unknown-linux-gnueabi
export TB_CC_PREFIX=arm-linux-
#rm -fr qt-everywhere-opensource-src-4.7.1
#rm -fr /opt/qt-4.7.1
tar xfvz qt-everywhere-opensource-src-4.7.1.tar.gz
cd qt-everywhere-opensource-src-4.7.1
echo yes | ./configure -opensource -embedded arm -xplatform qws/linux-arm-g++ -no-webkit -qt-libtiff -qt-libmng -qt
-mouse-tslib -qt-mouse-pc -no-mouse-linuxtp -prefix /home/bigfish/work/qt4.7/qt-everywhere-opensource-src-4.7.1/outpu
t -I /home/bigfish/work/ok6410_development/qtopia/tslib/tslib/output/include -L /home/bigfish/work/ok6410_developme
nt/qtopia/tslib/tslib/output/lib -lts
make 2>&1 | tee ../qte4.7.1Makelog && make install
尤其是.configure最后一定要加一个 -lts
阅读(4218) | 评论(0) | 转发(0) |