diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-11-29 06:45:47 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-11-29 21:48:15 -0800 |
commit | bca858a5d93d6b2ee0b31bfdd6328b088d53508d (patch) | |
tree | 05cc8337ade1e4c345a30abd0a6d9451a07494d5 /packaging/ios | |
parent | 18d044d9dc3219df116e226aa8a1d2ddce38eaea (diff) | |
download | subsurface-bca858a5d93d6b2ee0b31bfdd6328b088d53508d.tar.gz |
iOS build: call qmake in build.sh
This way we can avoid having to use Qt Creator (in preparation for
eventually testing the iOS build in Travis CI).
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging/ios')
-rw-r--r-- | packaging/ios/build.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packaging/ios/build.sh b/packaging/ios/build.sh index 81c666923..ee8e985ed 100644 --- a/packaging/ios/build.sh +++ b/packaging/ios/build.sh @@ -297,3 +297,11 @@ for src in $SRCS; do ${IOS_QT}/${QT_VERSION}/ios/bin/lrelease ${SUBSURFACE_SOURCE}/translations/$src -qm translations/${src/.ts/.qm} done popd + +# in order to be able to use xcode without going through Qt Creator +# call qmake directly +mkdir -p build-Subsurface-mobile-Qt_$(echo ${QT_VERSION} | tr . _)_for_iOS-Debug +cd build-Subsurface-mobile-Qt_$(echo ${QT_VERSION} | tr . _)_for_iOS-Debug +${IOS_QT}/${QT_VERSION}/ios/bin/qmake ../Subsurface-mobile/Subsurface-mobile.pro \ + -spec macx-ios-clang CONFIG+=iphoneos CONFIG+=device CONFIG+=qml_debug +make qmake_all |