源码包型号qt-everywhere-opensource-src-4.73.tar.bz2
1:解压tar jxvf qt-everywhere-opensource-src-4.73.tar.bz2
2:配置./built-qt
竖屏如下
#!/bin/sh
(echo yes) | \
./configure \
-prefix /home/yujie/qt4.7.3 \
-embedded arm \
-platform qws/linux-x86-g++ \
-xplatform qws/linux-arm-gnueabi-g++ \
-depths 16,18,24,32 \
-no-mmx \
-no-3dnow \
-no-sse \
-no-sse2 \
-no-glib \
-no-cups \
-no-largefile \
-no-accessibility \
-no-openssl \
-no-gtkstyle \
-qt-mouse-pc \
-qt-mouse-linuxtp \
-qt-mouse-linuxinput \
-plugin-mouse-linuxtp \
-plugin-mouse-pc \
-fast \
-D QT_NO_QWS_CURSOR \
-D QT_QWS_CLIENTBLIT \
-release \
-opensource
#make -j8 #for 4-Cores CPU
#make install
横屏如下
#!/bin/sh
(echo yes) | \
./configure \
-prefix /home/yujie/qt4.7.3-rotate \
-embedded arm \
-platform qws/linux-x86-g++ \
-xplatform qws/linux-arm-gnueabi-g++ \
-depths 16,18,24,32 \
-no-mmx \
-webkit \
-qt-gfx-transformed -qt-gfx-linuxfb \
-no-3dnow \
-no-sse \
-no-sse2 \
-no-glib \
-no-cups \
-no-largefile \
-no-accessibility \
-no-openssl \
-no-gtkstyle \
-qt-mouse-pc \
-qt-mouse-linuxtp \
-qt-mouse-linuxinput \
-plugin-mouse-linuxtp \
-plugin-mouse-pc \
-fast \
-D QT_NO_QWS_CURSOR \
-D QT_QWS_CLIENTBLIT \
-release \
-opensource
#make -j8 #for 4-Cores CPU
#make install
3make 编译
4makeinstall 安装
注:编译横屏前解压文件重命名为qt-everywhere-opensource-src-4.73-rotate