| | |
| | | sed -i "s|arm-linux-gnueabi-|$CROSSTOOL|" ${QMAKE_FILE} |
| | | fi |
| | | |
| | | # QT5.8 depends on g++-4.8 or higher version, or will throw error: |
| | | # unrecognized command line option ‘-std=c++11’ |
| | | # |
| | | # Use follow command to choose higher version g++ compile |
| | | # sudo update-alternatives --config g++ |
| | | # |
| | | ./configure -opensource -confirm-license -release -shared -strip -prefix ${QT_INST_PATH} -c++std c++11 \ |
| | | -xplatform linux-arm-gnueabi-g++ -qt-freetype -no-libproxy -no-avx -make libs \ |
| | | -qt-zlib -no-mtdev -no-gif -qt-libpng -qt-libjpeg -no-openssl -no-cups -no-dbus -pch \ |