From fc31ac264884de7edff6daa45128773b025e58e1 Mon Sep 17 00:00:00 2001 From: Ethan Richardson Date: Sun, 1 May 2016 01:03:18 -0500 Subject: [PATCH] Add brew installed qt5 path to qmake-auto script This will search through the qt install directory created when `brew install qt5` has been run. --- qmake-auto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qmake-auto b/qmake-auto index a5a1d32..5c91548 100755 --- a/qmake-auto +++ b/qmake-auto @@ -11,7 +11,7 @@ if [[ "$QMAKE" != "" ]]; then fi if [[ "$OSTYPE" == "darwin"* ]]; then # OSX: Look for qmake in standard install locations - QMAKE=`find ~/Qt/*/clang_64/bin ~/Qt5*/*/clang_64/bin ~/Applications/Qt/*/clang_64/bin ~/Applications/Qt5*/*/clang_64/bin /Applications/Qt/*/clang_64/bin /Applications/Qt5*/*/clang_64/bin -name qmake -print -quit 2>/dev/null` + QMAKE=`find /usr/local/opt/qt5/bin ~/Qt/*/clang_64/bin ~/Qt5*/*/clang_64/bin ~/Applications/Qt/*/clang_64/bin ~/Applications/Qt5*/*/clang_64/bin /Applications/Qt/*/clang_64/bin /Applications/Qt5*/*/clang_64/bin -name qmake -print -quit 2>/dev/null` [[ $QMAKE == "" ]] && die else # Linux: Look for system-installed Qt5