Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 931967

Summary: media-video/vlc-9999: --enable-qt now depends on Qt6 (and dev-qt/qt5compat[qml])
Product: Gentoo Linux Reporter: Mikkl <ironmikkl>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: UNCONFIRMED ---    
Severity: normal CC: asturm, gentoo-bugzilla, jasiupsota, web.alexander
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mikkl 2024-05-15 20:20:08 UTC
During configure phase qt5compat is reported to be missing and GUI will not work:

...
checking for Qt6Core Qt6Widgets Qt6Gui Qt6Qml Qt6QmlModels Qt6QmlWorkerScript
      Qt6Quick Qt6QuickControls2 Qt6QuickLayouts Qt6QuickTemplates2
      Qt6Svg
     >= 6.2... yes
checking for Qt6WaylandClient >= 6.2... no
checking if contribs provide target_qt.conf... no
checking for qmake6... /usr/lib64/qt6/bin/qmake6
checking for moc... /usr/lib64/qt6/libexec/moc
checking for rcc... /usr/lib64/qt6/libexec/rcc
checking for uic... /usr/lib64/qt6/libexec/uic
checking for qsb... /usr/lib64/qt6/bin/qsb
checking for qmlcachegen... /usr/lib64/qt6/libexec/qmlcachegen
checking for python3... python3
checking if required Qt plugins are installed with /usr/lib64/qt6/bin/qmake6 and conf ... checking for QtQml.Models ... yes
checking for QtQml.WorkerScript ... yes
checking for QtQuick.Layouts ... yes
checking for QtQuick.Window ... yes
checking for QtQuick.Controls ... yes
checking for Qt5Compat.GraphicalEffects ... no
no
configure: WARNING: qt runtime dependencies are missing, disabling qt interface
...

Manually installing dev-qt/qt5compat fixes the issue.
Comment 1 Alexander Weber 2024-06-04 15:31:36 UTC
Run in the same issue, but the qt5compat was installed on my system.

I was needed to recompile qt5compat with USE=qml enabled.

dev-qt/qt5compat[qml] should be the missed dependency in ebuild
Comment 2 Andreas Sturmlechner gentoo-dev 2024-07-03 11:56:13 UTC
*** Bug 933556 has been marked as a duplicate of this bug. ***
Comment 3 Jan Psota 2024-08-22 09:09:16 UTC
Now vlc needs dev-qt/qtdeclarative:6, but there is brand new error:

configure: error: Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.. If you want to build VLC without GUI, pass --disable-qt

It has nothing to do with system locale settings - with C or C.utf8 it does not work just like with my default pl_PL.UTF-8.