Bug#877825: Needs to depend upon libqt5svg5
Package: libqt5widgets5
Version: 5.7.1+dfsg-3
Severity: normal
I've found out that libqt5widgets5 might load an SVG trough QLabel.
Currently in our packaging there is no direct dependency because
the SVG-related code is loaded trough the libqsvg.so plugin, which
is packaged in libqt5svg5.
I think the correct solution would be to ship the plugin in
libqt5widgets5 and thus letting the build system set the right
dependency.
More info:
$ objdump -x /usr/lib/x86_64-linux-gnu/qt5/plugins/imageformats/libqsvg.so | grep -i needed
NEEDED libQt5Svg.so.5
NEEDED libQt5Gui.so.5
NEEDED libQt5Core.so.5
NEEDED libstdc++.so.6
NEEDED libc.so.6
$ objdump -x /usr/lib/x86_64-linux-gnu/libQt5Svg.so.5 | grep -i needed
NEEDED libQt5Widgets.so.5
NEEDED libQt5Gui.so.5
NEEDED libQt5Core.so.5
NEEDED libz.so.1
NEEDED libstdc++.so.6
NEEDED libm.so.6
NEEDED libc.so.6
$ objdump -x /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 | grep -i needed
NEEDED libQt5Gui.so.5
NEEDED libQt5Core.so.5
NEEDED libpthread.so.0
NEEDED libstdc++.so.6
NEEDED libm.so.6
NEEDED libc.so.6
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.13.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8), LANGUAGE=en_US (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
Versions of packages libqt5widgets5 depends on:
ii libc6 2.24-17
ii libqt5core5a [qtbase-abi-5-9-0] 5.9.1+dfsg-11
ii libqt5gui5 5.9.1+dfsg-11
ii libstdc++6 7.2.0-8
libqt5widgets5 recommends no packages.
libqt5widgets5 suggests no packages.
-- no debconf information
Reply to: