在编译好qte和qtopia之后,接下来是konqueror embedded的编译, 源码是 konqueror-embedded-snapshot-20030705.tar.gz
本机编译脚本:
export QTDIR=/usr/local/host/qte-2.3.10
export QTEDIR=$QTDIR
export QPEDIR=/usr/local/host/qtopia-2.1.1
export PATH=$QTDIR/bin:$QPEDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib:$QPEDIR/lib:$LD_LIBRARY_PATH
make distclean
./configure --enable-debug=full --libdir=$QPEDIR/lib --enable-static --disable-shared --prefix=$QPEDIR/image/opt/Qtopia --enable-qt-embedded --enable-embedded --enable-qtopia --enable-qpe --enable-readwrite --enable-cgi --enable-sidebar --enable-fontsubs --enable-largeicons --with-ssl-dir=/usr/local/host/openssl --with-qt-dir=$QTDIR --with-qt-libraries=$QTDIR/lib --with-qtopia-dir=$QPEDIR --with-gui=qpe --with-qt-includes=$QTDIR/include
make
make install
交叉编译脚本:
export QTDIR=/usr/local/arm/qte-2.3.10
export QTEDIR=$QTDIR
export QPEDIR=/usr/local/arm/qtopia-2.1.1
export PATH=$QTDIR/bin:$QPEDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib:$QPEDIR/lib:$LD_LIBRARY_PATH
export AR=arm-linux-ar
export AS=arm-linux-as
export LD=arm-linux-ld
export RANLIB=arm-linux-ranlib
export CC=arm-linux-gcc
export CXX=arm-linux-g++
export NM=arm-linux-nm
./configure --disable-debug --libdir=$QPEDIR/lib --host=arm-linux --prefix=$QPEDIR/image/opt/Qtopia --enable-qt-embedded --enable-embedded --enable-qtopia --enable-qpe --enable-readwrite --enable-cgi --enable-sidebar --enable-fontsubs --disable-jshostext --enable-largeicons --with-ssl-dir=/usr/local/arm/openssl --with-qt-dir=$QTDIR --with-qt-libraries=$QTDIR/lib --with-qtopia-dir=$QPEDIR --with-gui=qpe --with-qt-includes=$QTDIR/include
make
make install
阅读(1415) | 评论(0) | 转发(0) |