[PyQt] Missing application resources when run in one Linux distro but not another

Dmitry Shachnev mitya57 at ubuntu.com
Sun Mar 22 17:36:52 GMT 2020


On Sun, Mar 22, 2020 at 12:05:30PM -0400, Damon Lynch wrote:
> Your question just now led me to the solution: the package
> python3-pyqt5.qtsvg needed to be installed. The problem is a packaging
> bug in the Debian package for Rapid Photo Downloader that only shows
> up in Pop!_OS because it has different default packages than Debian /
> Ubuntu.
> Yikes. This may affect other packages too. If you are reading this
> Dmitry Shachnev, why does the package python3-pyqt5 not require
> python3-pyqt5.qtsvg? I'm not questioning the wisdom of the decision --
> I'm just curious why.

Actually installing libqt5svg5 is enough, python3-pyqt5.qtsvg is not

libqt5gui5 already recommends libqt5svg5; it cannot be a hard dependency
because that would mean a dependency loop. In Ubuntu recommendations are
installed by default so most people who install Qt apps will have libqt5svg5
installed too.

Dmitry Shachnev

More information about the PyQt mailing list