Created attachment 273035 [details] Upgrade VLC to 3.0.23 and switch to Qt6 Upgrade VLC to 3.0.23 and switch to Qt6. Release notes at https://code.videolan.org/videolan/vlc/-/tags/3.0.23 Remark: wayland is disabled by default.
What's the purpose of patch-configure.ac and patch-modules_gui_qt_qt6.pro patches? Are you backporting Qt6 support to 3.0.23?
Release notes suggests that Qt6 is already supported.
(In reply to Max Brazhnikov from comment #2) Yes, they said that, but actually it seems that only the code supports Qt6. The build environment seems not ready - at least I have not been able to build it without these patches.
It probably could be build with less patching. Let me check it.
Unfortunately Qt6 version is defective. At the first glance: VLC fails to load files from the Recent Media menu; switching between tabs does not work in the Simple Preferences. I think about adding Qt6 option without removing Qt5 support and making Qt5 the default one. What do you think?
(In reply to Max Brazhnikov from comment #5) Yes, we can do that for the moment. Have you been able to simplify the patches?
Created attachment 273467 [details] Update to 3.0.23, allow to build with Qt6, default to Qt5 Difference from the previous patch: Removed requirement for autoreconf (patching configure directly for Qt6 build) Removed bogus DEBUG option Added QT option which requires either QT5 or QT6. Please test whether it works for you.
Great! But why don't you set Qt6 by default? (it was the original aim of this PR)