diff --git a/.travis/osx..script.sh b/.travis/osx..script.sh index 10e0e8b54..ae0569fbd 100755 --- a/.travis/osx..script.sh +++ b/.travis/osx..script.sh @@ -4,7 +4,7 @@ set -e if [ "$QT5" ]; then # Workaround; No FindQt5.cmake module exists - CMAKE_PREFIX_PATH="$(brew --prefix qt55)" + CMAKE_PREFIX_PATH="$(brew --prefix qt@5.5)" export CMAKE_PREFIX_PATH fi diff --git a/cmake/apple/install_apple.sh.in b/cmake/apple/install_apple.sh.in index 277c00f0f..546fbb6c5 100644 --- a/cmake/apple/install_apple.sh.in +++ b/cmake/apple/install_apple.sh.in @@ -24,10 +24,10 @@ echo -e "$MSG_COLOR\n\nCreating App Bundle \"$APP\"...$COLOR_RESET" # Locate macdeployqt, assume homebrew & Qt5 which macdeployqt > /dev/null 2>&1 if [ $? -ne 0 ]; then - brew --prefix qt55 > /dev/null 2>&1 + brew --prefix qt@5.5 > /dev/null 2>&1 if [ $? -eq 0 ]; then # Prefer Qt 5.5 (QTBUG-53533) - PATH=$PATH:$(brew --prefix qt55)/bin + PATH=$PATH:$(brew --prefix qt@5.5)/bin else # Fallback Qt 5.6+ PATH=$PATH:$(brew --prefix qt5)/bin