From 1880ff272e077d15f51afbe4b971116671140822 Mon Sep 17 00:00:00 2001 From: tbaudier Date: Fri, 21 Apr 2017 09:07:46 +0200 Subject: [PATCH] Update qt4 installation for Mac on Travis --- travis/travis_build_qt.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/travis/travis_build_qt.sh b/travis/travis_build_qt.sh index 455eb73..6717a8c 100755 --- a/travis/travis_build_qt.sh +++ b/travis/travis_build_qt.sh @@ -5,8 +5,8 @@ set -ev if [ "$QT_VERSION" == "4.8.7" ]; then if test $TRAVIS_OS_NAME == linux ; then sudo apt-get -y --force-yes install qt4-dev-tools; fi - if test $TRAVIS_OS_NAME == osx ; then brew install cartr/qt4/qt; fi - if test $TRAVIS_OS_NAME == osx ; then brew link qt --force; fi + if test $TRAVIS_OS_NAME == osx ; then brew install cartr/qt4/qt@4; fi + if test $TRAVIS_OS_NAME == osx ; then brew link qt@4 --force; fi if test $TRAVIS_OS_NAME == osx ; then qmake -v; fi elif [ "$QT_VERSION" == "5.5.1" ]; then if test $TRAVIS_OS_NAME == linux ; then sudo add-apt-repository --yes ppa:beineri/opt-qt551-trusty; fi -- 2.47.1