Skip to content

Commit 0e23b15

Browse files
Missing Linux multimedia libraries in Qt v6.8
In Qt v6.8 the QtMultimedia ffmpeg Linux backend depends on new libraries that were not included in the Qt wheels. Resolves #29
1 parent e4068c7 commit 0e23b15

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

pyqtbuild/builder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ def apply_user_defaults(self, tool):
132132

133133
# Set the default ABI major version of the sip module. These
134134
# should track the versions specified by the latest versions of
135-
# PyQt5 and PyQt6 (and vice versa). In future this can be removed
136-
# completely.
135+
# PyQt5 and PyQt6 (and vice versa). This can be removed completely
136+
# when PyQt5 and PyQt6 use %MinimumABIVersion unconditionaly.
137137
if not project.abi_version:
138138
if project.sip_module == 'PyQt5.sip':
139139
project.abi_version = '12.15'

pyqtbuild/bundle/packages/pyqt6.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,15 @@
6969
VersionedMetadata(version=(6, 8, 0),
7070
lib_deps={'': ('QtMultimediaQuick', )},
7171
other_lib_deps={
72+
'linux': (
73+
'libQt6FFmpegStub-crypto.so.3',
74+
'libQt6FFmpegStub-ssl.so.3',
75+
'libQt6FFmpegStub-va.so.2',
76+
'libQt6FFmpegStub-va-drm.so.2',
77+
'libQt6FFmpegStub-va-x11.so.2',
78+
'libavcodec.so.61', 'libavformat.so.61',
79+
'libavutil.so.59', 'libswresample.so.5',
80+
'libswscale.so.8'),
7281
'macos': ('libavcodec.61.dylib', 'libavformat.61.dylib',
7382
'libavutil.59.dylib', 'libswresample.5.dylib',
7483
'libswscale.8.dylib'),

0 commit comments

Comments
 (0)