diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 11007c7447dc149a2c9be38056c9d6f7f1ca2eea..995c5269f8cd029c30a495d528a80f0bc8a6243e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,6 @@
 .common_build:
   before_script:
-    - apt update && apt -y install make autoconf qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools libavutil-dev libavcodec-dev libavformat-dev libmpv-dev cmake clang clang-format gcc g++ libomp-dev
+    - apt update && apt upgrade && apt -y install make autoconf qt6-base-dev qt6-multimedia-dev libavutil-dev libavcodec-dev libavformat-dev libmpv-dev cmake clang clang-format gcc g++ libomp-dev
   script:
     - mkdir build && cd build
     - CC=${c_compiler} CXX=${cxx_compiler} cmake .. && make