[PyQt] Missing libQt5WaylandClient.so in wheels

Phil Thompson phil at riverbankcomputing.com
Thu May 30 11:22:17 BST 2019


On 30/05/2019 10:25, Florian Bruhin wrote:
> 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.

Should be fixed in the next release.

Thanks,
Phil


More information about the PyQt mailing list