summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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