Skip to content

Commit

Permalink
Bump to Qt5.10+
Browse files Browse the repository at this point in the history
  • Loading branch information
tresf committed Dec 16, 2017
1 parent 5eed9cb commit 4dcadee
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .travis/osx..install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

PACKAGES="cmake pkg-config fftw libogg libvorbis lame libsndfile libsamplerate jack sdl libgig libsoundio stk portaudio node fltk [email protected]"
PACKAGES="cmake pkg-config fftw libogg libvorbis lame libsndfile libsamplerate jack sdl libgig libsoundio stk portaudio node fltk qt5"

if "${TRAVIS}"; then
PACKAGES="$PACKAGES ccache"
Expand Down
3 changes: 1 addition & 2 deletions cmake/apple/install_apple.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ MSG_COLOR='\x1B[1;36m'
COLOR_RESET='\x1B[0m'
echo -e "$MSG_COLOR\n\nCreating App Bundle \"$APP\"...$COLOR_RESET"

# Prefer Qt 5.5 (QTBUG-53533)
qtpath=$(brew --prefix [email protected])/bin
qtpath=$(brew --prefix qt5)/bin

# Fallback Qt 5.6+
if [ ! -d "$qtpath" ]; then
Expand Down
12 changes: 1 addition & 11 deletions cmake/modules/QtLocator.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,12 @@ IF(APPLE)
OUTPUT_QUIET ERROR_QUIET
)
IF(NOT BREW_MISSING)
# TODO: [email protected] preffered per https://bugreports.qt.io/browse/QTBUG-53533
EXECUTE_PROCESS(
COMMAND brew --prefix [email protected]
COMMAND brew --prefix qt5
OUTPUT_VARIABLE QT_PATH
OUTPUT_STRIP_TRAILING_WHITESPACE
RESULT_VARIABLE QT_MISSING
)
# Fallback to qt5
IF(QT_MISSING)
EXECUTE_PROCESS(
COMMAND brew --prefix qt5
OUTPUT_VARIABLE QT_PATH
OUTPUT_STRIP_TRAILING_WHITESPACE
RESULT_VARIABLE QT_MISSING
)
ENDIF()
ELSE()
# qtcreator + mac
EXECUTE_PROCESS(
Expand Down

0 comments on commit 4dcadee

Please sign in to comment.