[vlc-commits] [Git][videolan/vlc][3.0.x] CI: add a Debian target to compile with Qt6

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Fri Jan 23 20:19:19 UTC 2026



Jean-Baptiste Kempf pushed to branch 3.0.x at VideoLAN / VLC


Commits:
9aa96cb7 by Steve Lhomme at 2026-01-23T20:40:54+01:00
CI: add a Debian target to compile with Qt6

And plenty of newer system packages on Linux.

- - - - -


1 changed file:

- extras/ci/gitlab-ci.yml


Changes:

=====================================
extras/ci/gitlab-ci.yml
=====================================
@@ -19,6 +19,7 @@ variables:
     VLC_UWP_LLVM_IMAGE: registry.videolan.org/vlc-debian-llvm-uwp:20211020111246
     VLC_WIN_LLVM_UCRT_IMAGE: registry.videolan.org/vlc-debian-llvm-ucrt:20251223015425
     VLC_DEBIAN_IMAGE: registry.videolan.org/vlc-debian-unstable:20200229201904
+    VLC_DEBIAN_QT6_IMAGE: registry.videolan.org/vlc-debian-unstable:20260121072258
     VLC_ANDROID_IMAGE: registry.videolan.org/vlc-debian-android-3.0:20250626142950
     VLC_ANDROID4_IMAGE: registry.videolan.org/vlc-debian-android:20250626142950
     VLC_SNAP_IMAGE: registry.videolan.org/vlc-ubuntu-bionic:20250904134924
@@ -318,6 +319,25 @@ debian:
         fi
     variables: *variables-debian
 
+debian-qt6:
+    extends: .docker-template
+    image:
+        name: $VLC_DEBIAN_QT6_IMAGE
+    script: |
+        export NCPU=$(getconf _NPROCESSORS_ONLN)
+
+        export CFLAGS="$CFLAGS -Werror=missing-field-initializers -Werror=format -Werror=incompatible-pointer-types -Werror=restrict -Werror=int-conversion -Werror=implicit-int -Werror=return-mismatch -Werror=declaration-missing-parameter-type"
+        export CXXFLAGS="$CXXFLAGS -Werror=missing-field-initializers -Werror=format"
+
+        # patch VLC to disable Qt5 detection
+        sed -i.orig 's/Qt5Svg/Qt5Svg Qt5DisableDetection/' configure.ac
+
+        # Build VLC
+        ./bootstrap
+        ./configure --disable-nls
+        make -j$NCPU -k
+    variables: *variables-debian
+
 nightly-debian:
     extends: debian
     only:



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/9aa96cb740047bf6dcc1c26d2c5923e3020f5679

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/9aa96cb740047bf6dcc1c26d2c5923e3020f5679
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list