summaryrefslogtreecommitdiff
path: root/platform/qt
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2017-04-10 12:04:05 -0700
committerMinh Nguyễn <mxn@1ec5.org>2017-04-10 14:43:13 -0700
commit6b29b2bde6048669eaa7ad79446915d2e34c4233 (patch)
tree96311917d78ee1859a39e0baebc4eefa9f1c6386 /platform/qt
parent6588f405a4f5843853bc0253d3c27b518b44db61 (diff)
downloadqtlocation-mapboxgl-6b29b2bde6048669eaa7ad79446915d2e34c4233.tar.gz
[qt] Avoid hardcoding Qt cellar path
Diffstat (limited to 'platform/qt')
-rw-r--r--platform/qt/bitrise-qt5.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/platform/qt/bitrise-qt5.yml b/platform/qt/bitrise-qt5.yml
index a6893098cd..0ce964e43f 100644
--- a/platform/qt/bitrise-qt5.yml
+++ b/platform/qt/bitrise-qt5.yml
@@ -19,9 +19,10 @@ workflows:
brew install qt
brew link qt --force
brew linkapps qt
+ export HOMEBREW_QT5_CELLAR=$(brew --cellar qt)
export HOMEBREW_QT5_VERSION=$(brew list --versions qt | rev | cut -d' ' -f1 | rev)
- ln -s /usr/local/Cellar/qt/$HOMEBREW_QT5_VERSION/mkspecs /usr/local/mkspecs
- ln -s /usr/local/Cellar/qt/$HOMEBREW_QT5_VERSION/plugins /usr/local/plugins
+ ln -s $HOMEBREW_QT5_CELLAR/$HOMEBREW_QT5_VERSION/mkspecs /usr/local/mkspecs
+ ln -s $HOMEBREW_QT5_CELLAR/$HOMEBREW_QT5_VERSION/plugins /usr/local/plugins
export BUILDTYPE=Debug
make qt-app
make run-qt-test