diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 82468d4ceebdcdbd504e9db97456348df75e04e7..11971f9143e7c47944b08ea5a1e724c875dc936d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -52,6 +52,10 @@ build-and-test:
     - axii workspace update --prefer-https
     - _axii_auto_env_refresh
 
+    # deps/coin/soqt says:
+    # qmake: could not find a Qt installation of ''
+    - apt-get install qt5-default --yes
+
     # Upgrade.
     - axii workspace upgrade
     - _axii_auto_env_refresh