qt 5 交叉编译方法

./configure \
-prefix ../arm-qt-output \
-xplatform linux-aarch64-gnu-g++ \
-qt-libpng \
-qt-libjpeg \
-static \
-no-xcb \
-no-opengl \
-no-eglfs \
-no-direct2d \
-no-directfb \
-no-eglfs \
-no-gbm \
-no-kms \
-no-mirclient \
-no-xcb \
-no-xkbcommon-evdev \
-no-xkbcommon-x11 \
-enable-linuxfb \
-qt-freetype \
-nomake examples \
-make libs \
-nomake tests \
-opensource \
-confirm-license \
-skip qt3d \
-skip qtactiveqt \
-skip qtandroidextras \
-skip qtcanvas3d \
-skip qtcharts \
-skip qtconnectivity \
-skip qtdatavis3d \
-skip qtdeclarative \
-skip qtdoc \
-skip qtgamepad \
-skip qtgraphicaleffects \
-skip qtlocation \
-skip qtmacextras \
-skip qtnetworkauth \
-skip qtpurchasing \
-skip qtquickcontrols \
-skip qtquickcontrols2 \
-skip qtscript \
-skip qtscxml \
-skip qtsensors \
-skip qtspeech \
-skip qtsvg \
-skip qttools \
-skip qttranslations \
-skip qtvirtualkeyboard \
-skip qtwayland \
-skip qtwebchannel \
-skip qtwebengine \
-skip qtwebsockets \
-skip qtwebview \
-skip qtwinextras \
-skip qtxmlpatterns \
-skip qtx11extras \
-no-iconv \
-no-feature-dbus \
-no-harfbuzz \
-no-evdev
 

 

make

 

make install

你可能感兴趣的:(qt 5 交叉编译方法)