diff options
author | Anton Lundin <glance@acc.umu.se> | 2017-02-06 15:55:38 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-02-06 21:14:53 -0800 |
commit | c345702d1b08b88ef25bdd2b28390045b9f74595 (patch) | |
tree | 27b52423710197f30c4cb37e0d31f80547f13699 /packaging/android/android-build-wrapper.sh | |
parent | 9f7c3c31f7e66873690606ca40f33ddf20de7ad2 (diff) | |
download | subsurface-c345702d1b08b88ef25bdd2b28390045b9f74595.tar.gz |
android: Move suggested/expected Qt install to just Qt
In the Qt installer, there is a MaintenanceTool which can upgrade your
install, so don't install in a "versioned" directory, just install in a
plain Qt-directory.
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging/android/android-build-wrapper.sh')
-rw-r--r-- | packaging/android/android-build-wrapper.sh | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/packaging/android/android-build-wrapper.sh b/packaging/android/android-build-wrapper.sh index 6242809e8..02d80f1db 100644 --- a/packaging/android/android-build-wrapper.sh +++ b/packaging/android/android-build-wrapper.sh @@ -53,19 +53,17 @@ fi # download the Qt installer including Android bits and unpack / install QT_DOWNLOAD_URL=https://download.qt.io/archive/qt/${QT_VERSION}/${LATEST_QT}/${QT_BINARIES} -if [ ! -d Qt${LATEST_QT} ] ; then +if [ ! -d Qt ] ; then if [ ! -f ${QT_BINARIES} ] ; then wget -q ${QT_DOWNLOAD_URL} fi - echo "In the binary installer select $(pwd)/${LATEST_QT} as install directory" + echo "In the binary installer select $(pwd)/Qt as install directory" chmod +x ./${QT_BINARIES} ./${QT_BINARIES} fi -[ -e Qt ] || ln -s Qt${LATEST_QT} Qt - # patch the cmake / Qt5.7.1 incompatibility mentioned above -sed -i 's/set_property(TARGET Qt5::Core PROPERTY INTERFACE_COMPILE_FEATURES cxx_decltype)/# set_property(TARGET Qt5::Core PROPERTY INTERFACE_COMPILE_FEATURES cxx_decltype)/' Qt/5.7/android_armv7/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake +sed -i 's/set_property(TARGET Qt5::Core PROPERTY INTERFACE_COMPILE_FEATURES cxx_decltype)/# set_property(TARGET Qt5::Core PROPERTY INTERFACE_COMPILE_FEATURES cxx_decltype)/' Qt/${QT_VERSION}/android_armv7/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake # next we need to get the Android SDK and NDK if [ ! -d $ANDROID_NDK ] ; then |