[PyQt] Missing libQt5WaylandClient.so in wheels

Florian Bruhin me at the-compiler.org
Thu May 30 10:25:33 BST 2019


Hi,

it looks like Qt binary installs include full wayland support, by shipping both
plugins/platforms/libqwayland-egl.so and lib/libQt5WaylandClient.so.

However, PyQt wheels only contain libqwayland-egl.so, not
libQt5WaylandClient.so. When trying to run on wayland, Qt seems to try loading
my system-wide one, which is incompatible:

    WARNING: QLibraryPrivate::loadPlugin failed on ".../py37-pyqt512/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqwayland-egl.so" : "Cannot load library .../py37-pyqt512/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqwayland-egl.so: (/usr/lib/libQt5WaylandClient.so.5: symbol _ZNK20QPlatformIntegration28createPlatformVulkanInstanceEP15QVulkanInstance version Qt_5_PRIVATE_API not defined in file libQt5Gui.so.5 with link time reference)"
    INFO: Could not load the Qt platform plugin "wayland-egl" in "" even though it was found.

Copying lib/libQt5WaylandClient.so* from a Qt 5.12.3 binary install into the
wheel makes it work.

Florian

-- 
https://www.qutebrowser.org | me at the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
         I love long mails! | https://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20190530/1436afef/attachment.sig>


More information about the PyQt mailing list