Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2927424
  • 博文数量: 401
  • 博客积分: 12926
  • 博客等级: 上将
  • 技术积分: 4588
  • 用 户 组: 普通用户
  • 注册时间: 2009-02-22 14:51
文章分类

全部博文(401)

文章存档

2015年(16)

2014年(4)

2013年(12)

2012年(82)

2011年(98)

2010年(112)

2009年(77)

分类: LINUX

2012-05-11 22:14:39

在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
阅读(4098) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~