4 #Install the correct Qt Version
5 if [ "$QT_VERSION" == "4.8.7" ]; then
6 if test $TRAVIS_OS_NAME == linux ; then sudo apt-get -y --force-yes install qt4-dev-tools; fi
8 if test $TRAVIS_OS_NAME == osx ; then brew install cartr/qt4/qt@4; fi
9 if test $TRAVIS_OS_NAME == osx ; then brew install cartr/qt4/qt-webkit@2.3; fi
10 if test $TRAVIS_OS_NAME == osx ; then brew link qt@4 --force; fi
11 if test $TRAVIS_OS_NAME == osx ; then brew link qt-webkit@2.3 --force; fi
12 if test $TRAVIS_OS_NAME == osx ; then qmake -v; fi
13 elif [ "$QT_VERSION" == "5.5.1" ]; then
14 if test $TRAVIS_OS_NAME == linux ; then sudo add-apt-repository --yes ppa:beineri/opt-qt551-trusty; fi
15 if test $TRAVIS_OS_NAME == linux ; then sudo apt-get update -qq; fi
16 if test $TRAVIS_OS_NAME == linux ; then sudo apt-get -y --force-yes install qt55tools; fi
18 if test $TRAVIS_OS_NAME == osx ; then brew install qt@5.5; fi
19 if test $TRAVIS_OS_NAME == osx ; then brew link qt@5.5 --force; fi
20 if test $TRAVIS_OS_NAME == osx ; then brew linkapps qt@5.5; fi