diff --git a/ci/travis/before_install.sh b/ci/travis/before_install.sh
index 3d2c37b704669e64ed65b61b28ce1cc71bcb1317..ff701c2ad3836613b7c2aa71e7ea93fcc602f359 100755
--- a/ci/travis/before_install.sh
+++ b/ci/travis/before_install.sh
@@ -2,11 +2,12 @@
 
 if [ $TRAVIS_OS_NAME == "osx" ]
 then
+    brew tap homebrew/versions
     brew update
     brew install libsodium
     ## Ensure your brew QT version is up to date. (brew install qt -> qt 4.8)
-    brew install qt5
-    brew link --force qt5
+    brew install qt55
+    brew link --force qt55
     brew install pyenv-virtualenv
 elif [ $TRAVIS_OS_NAME == "linux" ]
 then