QT4 交叉编译

配置

./configure \
-prefix /usr \
-no-rpath \
-embedded arm \
-xplatform /qws/linux-arm-gnueabi-g++ \
-depths 16,24,32 \
-no-mmx \
-no-3dnow \
-no-sse \
-no-sse2 \
-no-glib \
-no-cups \
-no-largefile \
-no-accessibility \
-no-openssl \
-no-gtkstyle \
-little-endian \
-shared \
-no-qt3support \
-no-multimedia \
-no-audio-backend \
-no-phonon \
-no-phonon-backend \
-no-svg \
-no-webkit \
-qt-libtiff \
-qt-libpng \
-qt-libmng \
-qt-libjpeg \
-fast \
-opensource \
-largefile \
-plugin-sql-db2 \
-plugin-sql-ibase \
-plugin-sql-mysql \
-plugin-sql-sqlite \
-plugin-sql-sqlite2 \
-continue \
-host-little-endian \
-confirm-license \
-no-pch \
-nomake examples \
-nomake demos \
-nomake docs

编译

make -j8

 

安装

export INSTALL_ROOT=$SYSROOT

#  SYSROOT 为交叉编译目标文件系统的路径

make install

posted @ 2016-07-07 17:13  ouuy  阅读(536)  评论(0编辑  收藏  举报