参考链接 linux交叉编译Qt_linux qt 交叉编译-CSDN博客
关键点:编译脚本,放在qt源代码根目录的.sh文件
- #!/bin/sh
-
- cd ./qt-everywhere-src-5.12.9
-
- ./configure -prefix /home/qsqya/compile/qt5.12.9/build \
- -opensource \
- -release \
- -confirm-license \
- -xplatform linux-arm-gnueabi-g++ \
- -shared \
- -nomake examples \
- -nomake tests \
- -no-opengl