一、qt4.8 移植到Arm 平台
1、首先找个文件夹解压下载的qt-everywhere-opensource-src-4.8.5。打开/mkspecs/qws/linux-arm-gnueabi-g++/qmake.conf 修改编译器为交叉编译器,如下:
#
# qmake configuration for building with arm-none-linux-gnueabi-g++
#
include(../../common/linux.conf)
include(../../common/gcc-base-unix.conf)
include(../../common/g++-unix.conf)
include(../../common/qws.conf)
# modifications to g++.conf
QMAKE_CC = /usr/local/arm-2011.03/bin/arm-none-linux-gnueabi-gcc
QMAKE_CXX = /usr/local/arm-2011.03/bin/arm-none-linux-gnueabi-g++
QMAKE_LINK = /usr/local/arm-2011.03/bin/arm-none-linux-gnueabi-g++
QMAKE_LINK_SHLIB = /usr/local/arm-2011.03/bin/arm-none-linux-gnueabi-g++
# modifications