summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-06-17 04:06:51 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-06-17 04:06:51 -0700
commit10833e32edc05c6840316f4ceb26fb58b1100a60 (patch)
treeaa92edb684a641f330cc7ab7beaa69d93222b7a2 /packaging
parentda052967c2631525d04f94fab7103e18a8c4a647 (diff)
downloadsubsurface-10833e32edc05c6840316f4ceb26fb58b1100a60.tar.gz
iOS build: use the Qt version that is available
Simply have the Qt link in packagin/ios point to whatever Qt version you want to build against and the script picks the right one. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/ios/build.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/packaging/ios/build.sh b/packaging/ios/build.sh
index e872346e3..2a8709a33 100644
--- a/packaging/ios/build.sh
+++ b/packaging/ios/build.sh
@@ -8,6 +8,7 @@ set -e
TOP=$(pwd)
SUBSURFACE_SOURCE=${TOP}/../../../subsurface
IOS_QT=${TOP}/Qt
+QT_VERSION=$(cd ${IOS_QT}; ls -d 5.?)
# Which versions are we building against?
SQLITE_VERSION=3090200
@@ -367,6 +368,6 @@ popd
pushd Subsurface-mobile
mkdir -p translations
for src in $SRCS; do
- ${IOS_QT}/5.6/ios/bin/lrelease ${SUBSURFACE_SOURCE}/translations/$src -qm translations/${src/.ts/.qm}
+ ${IOS_QT}/${QT_VERSION}/ios/bin/lrelease ${SUBSURFACE_SOURCE}/translations/$src -qm translations/${src/.ts/.qm}
done
popd