diff --git a/.travis.yml b/.travis.yml
index 9608838164466cfda44313c7179aabc6fc0a96d1..344348bc39b7841f0141302bf701cc0e272112d4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,7 +9,8 @@ addons:
       - ubuntu-toolchain-r-test
     packages:
       - g++-4.8
-      - qt4-dev-tools
+      - qtbase5-dev
+      - libqt5xmlpatterns5-dev
       - libxt-dev
       - libshp-dev