summaryrefslogtreecommitdiff
path: root/platform/qt/bitrise-qt5.yml
diff options
context:
space:
mode:
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 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