From 6b29b2bde6048669eaa7ad79446915d2e34c4233 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguy=E1=BB=85n?= Date: Mon, 10 Apr 2017 12:04:05 -0700 Subject: [PATCH] [qt] Avoid hardcoding Qt cellar path --- platform/qt/bitrise-qt5.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/platform/qt/bitrise-qt5.yml b/platform/qt/bitrise-qt5.yml index a6893098c..0ce964e43 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