qtopia-free-src-2.2.0交叉编译:

  修改文件
    vi /home/arm/qtopia-free-2.2.0/qtopia/mkspecs/qws/linux-arm-g++/qmake.conf
    将此行
    QMAKE_LIBS_QT = -lqte
    修改为
    QMAKE_LIBS_QT = -lqte -lpng -lts -lz -luuid -ljpeg

  再:
    export QTDIR=/home/arm/qtopia-free-2.2.0/qt2
    export QPEDIR=/home/arm/qtopia-free-2.2.0/qtopia
    export LD_LIBRARY_PATH=$QTDIR/lib:$QPEDIR/lib:$LD_LIBRARY_PATH
    export TMAKEDIR=/home/arm/qtopia-free-2.2.0/tmake
    export TMAKEPATH=$TMAKEDIR/lib/qws/linux-arm-g++

 

  cd $QPEDIR/src/libraries/qtopia
    cp custom-linux-ipaq-g++.cpp custom-linux-arm-g++.cpp
    cp custom-linux-ipaq-g++.h custom-linux-arm-g++.h


#echo'yes'|./configure -qte "-embedded -xplatform linux-arm-g++ -qconfig qpe-no-qvfb -depths 16,24 -system-jpeg -system-libpng -system-zlib -tslib -gif -thread -no-xft -release -I/home/arm/include -L//home/arm/lib -lpng -lts -lz-luuid -ljpeg" -qpe '-xplatform linux-arm-g++ -edition pda -displaysize 320x240 -I/home/arm/include -L/home/arm/lib -prefix=/home/arm/qtopia'

 

#make

 

 

你可能感兴趣的:(qtopia-free-src-2.2.0交叉编译:)