mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-17 22:46:16 +00:00
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>
This commit is contained in:
parent
da052967c2
commit
10833e32ed
1 changed files with 2 additions and 1 deletions
|
@ -8,6 +8,7 @@ set -e
|
||||||
TOP=$(pwd)
|
TOP=$(pwd)
|
||||||
SUBSURFACE_SOURCE=${TOP}/../../../subsurface
|
SUBSURFACE_SOURCE=${TOP}/../../../subsurface
|
||||||
IOS_QT=${TOP}/Qt
|
IOS_QT=${TOP}/Qt
|
||||||
|
QT_VERSION=$(cd ${IOS_QT}; ls -d 5.?)
|
||||||
|
|
||||||
# Which versions are we building against?
|
# Which versions are we building against?
|
||||||
SQLITE_VERSION=3090200
|
SQLITE_VERSION=3090200
|
||||||
|
@ -367,6 +368,6 @@ popd
|
||||||
pushd Subsurface-mobile
|
pushd Subsurface-mobile
|
||||||
mkdir -p translations
|
mkdir -p translations
|
||||||
for src in $SRCS; do
|
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
|
done
|
||||||
popd
|
popd
|
||||||
|
|
Loading…
Add table
Reference in a new issue