[PyQt] Missing application resources when run in one Linux distro but not another
Eli Schwartz
eschwartz at archlinux.org
Sun Mar 22 17:44:11 GMT 2020
On 3/22/20 1:12 PM, Damon Lynch wrote:
> On Sun, Mar 22, 2020 at 12:23 PM Eli Schwartz <eschwartz at archlinux.org> wrote:
>
>> Is this actually your problem, by the way? Or do you only need
>> ${qtlibdir}/plugins/imageformats/libqsvg.so in order to support QImages
>> in the svg format, which would be indirectly satisfied by
>> python3-pyqt5.qtsvg simply due to depending on libqt5svg5?
>>
>> It's more likely that packages which explicitly make use of svg resource
>> files need to depend on the right image plugin to handle those files,
>> totally unrelated to python.
>>
>
> You're absolutely right Eli, thank you! (And thanks also to Maurizio
> and David). The package libqt5svg5 needed to be installed, not
> python3-pyqt5.qtsvg. I got completely bamboozled by the two of them.
> My code does not import the PyQt5.QtSvg module.
Happy to help!
It looks like the Arch Linux package doesn't draw this in (though
qt5-svg is an optdepends of qt5-base which may or may not help).
So I've pointed the maintainer at this thread and asked him to add it to
our packaging.
--
Eli Schwartz
Arch Linux Bug Wrangler and Trusted User
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1601 bytes
Desc: OpenPGP digital signature
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20200322/f3e3ec11/attachment.sig>
More information about the PyQt
mailing list