Skip to content

Commit

Permalink
iOS build: use the Qt version that is available
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
dirkhh committed Jun 17, 2016
1 parent da05296 commit 10833e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packaging/ios/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 10833e3

Please sign in to comment.