首页 > 其他 > 详细

QT4 交叉编译

时间:2016-07-07 19:32:18      阅读:276      评论:0      收藏:0      [点我收藏+]

配置

./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

QT4 交叉编译

原文:http://www.cnblogs.com/ouuy/p/5650862.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!