2010/11/22

先記下來

libpng
#./configure --host=arm-linux --prefix=/home/lib/libpng --enable-shared LDFLAGS=-L/home/lib/zlib/lib/ CPPFLAGS=-I/home/lib/include

zlib
#CC=arm-linux-gcc
#./configure –host=arm-linux –prefix=/home/lib/zlib

qt修正
修改qt-everywhere-opensource-src-4.6.0/mkspecs/qws/linux-arm-g++/qmake.conf 文件(添加lts参数):
QMAKE_CC = arm-linux-gcc -lts
QMAKE_CXX = arm-linux-g++ -lts
QMAKE_LINK = arm-linux-g++ -lts
QMAKE_LINK_SHLIB = arm-linux-g++ -lt

qt4.7
./configure -prefix /home/qt4.7.0 -release -shared -no-largefile -qt-sql-sqlite -no-qt3support -no-xmlpatterns -no-mmx -no-3dnow -no-sse -no-sse2 -no-svg -no-webkit -qt-zlib -qt-gif -no-libtiff -qt-libpng -no-libmng -qt-libjpeg -no-nis -no-cups -no-iconv -no-dbus -no-openssl -xplatform qws/linux-arm-g++ -embedded arm -little-endian -qt-freetype -depths 16 -qt-gfx-linuxfb -no-gfx-transformed -no-gfx-multiscreen -no-gfx-vnc -no-gfx-qvfb -no-glib -qt-mouse-tslib -I /home/include -L /home/lib

沒有留言: