summaryrefslogtreecommitdiff
path: root/platform/qt/bitrise-qt5.yml
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2016-10-17 12:22:03 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2016-10-17 12:51:21 +0300
commit964183b4813d38c31a890db789dc0ad438db70ac (patch)
tree11cca26784328f7519191ba9edb8d8b67b25b4b4 /platform/qt/bitrise-qt5.yml
parent674304bfae3b8ed9625d0de2f59d5eedcffaf143 (diff)
downloadqtlocation-mapboxgl-964183b4813d38c31a890db789dc0ad438db70ac.tar.gz
[qt] Fix Qt5 bitrise bot
Diffstat (limited to 'platform/qt/bitrise-qt5.yml')
-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 8313e30a59..e0627f03e5 100644
--- a/platform/qt/bitrise-qt5.yml
+++ b/platform/qt/bitrise-qt5.yml
@@ -34,8 +34,9 @@ workflows:
brew install qt5
brew link qt5 --force
brew linkapps qt5
- ln -s /usr/local/Cellar/qt5/5.6.1-1/mkspecs /usr/local/mkspecs
- ln -s /usr/local/Cellar/qt5/5.6.1-1/plugins /usr/local/plugins
+ export HOMEBREW_QT5_VERSION=$(brew list --versions qt5 | rev | cut -d' ' -f1 | rev)
+ ln -s /usr/local/Cellar/qt5/$HOMEBREW_QT5_VERSION/mkspecs /usr/local/mkspecs
+ ln -s /usr/local/Cellar/qt5/$HOMEBREW_QT5_VERSION/plugins /usr/local/plugins
export BUILDTYPE=Debug
make qt-app
make qt-qml-app