forked from Akaflieg-Freiburg/enroute
-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildscript-qt5-android-release.sh
executable file
·68 lines (64 loc) · 1.66 KB
/
buildscript-qt5-android-release.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#!/bin/bash
# Fail on first error
set -e
# Clear build directory
rm -rf ../build-qt5-android-release
mkdir ../build-qt5-android-release
# Configure
cd ../build-qt5-android-release
$Qt5_DIR_SOURCE/configure \
-opensource \
-confirm-license \
-c++std c++2a \
-xplatform android-clang \
-prefix $Qt5_DIR_ANDROID \
-android-ndk $ANDROID_NDK_ROOT \
-android-sdk $ANDROID_SDK_ROOT \
-force-debug-info \
-nomake tests \
-nomake examples \
-no-feature-assistant \
-no-feature-designer \
-no-feature-geoservices_esri \
-no-feature-geoservices_here \
-no-feature-geoservices_itemsoverlay \
-no-feature-geoservices_mapbox \
-no-feature-geoservices_osm \
-no-feature-imageformat_bmp \
-no-feature-quickcontrols2-fusion \
-no-feature-quickcontrols2-imagine \
-no-feature-quicktemplates2-hover \
-no-separate-debug-info \
-release \
-skip qt3d \
-skip qtcharts \
-skip qtconnectivity \
-skip qtdatavis3d \
-skip qtdoc \
-skip qtgamepad \
-skip qtimageformats \
-skip qtlottie \
-skip qtmultimedia \
-skip qtnetworkauth \
-skip qtpim \
-skip qtpurchasing \
-skip qtquick3d \
-skip qtquickcontrols \
-skip qtquicktimeline \
-skip qtscript \
-skip qtscxml \
-skip qtserialbus \
-skip qtserialport \
-skip qtvirtualkeyboard \
-skip qtwayland \
-skip qtwebchannel \
-skip qtwebengine \
-skip qtwebglplugin \
-skip qtwebsockets \
-skip qtxmlpatterns \
-ssl \
-I /home/kebekus/Software/buildsystems/openssl-1.1.1k/include \
-no-warnings-are-errors
nice make -j8
rm -rf $Qt5_DIR_ANDROID
nice make install