wayland support in wheels on Pypi

Sergio Callegari sergio.callegari at gmail.com
Mon Feb 17 08:07:02 GMT 2025


Hi,

I have noticed a strange behavior from applications using PyQt5 and 
PyQt5-Qt5 (seen using the python IDE spyder).

When I run spyder after having installed it from the packages provided 
by my distribution (manjaro), spyder runs as a wayland application on my 
system.

However, if I install spyder using pip, uv, or pipx (namely installation 
methods that rely on pre-built wheels from pypi), then spyder cannot run 
anymore as a wayland application. From its logs, I see that it cannot 
find the appropriate Qt plugin:

Could not find the Qt platform plugin “wayland” in “”

Now I wonder if there might be something missing in the pre-built wheels 
of PyQt5 distributed on Pypi.

Being able to have Qt applications working as wayland applications could 
be beneficial on systems with two displays with different resolutions, 
which is a setup not well supported by some compositors with Xwayland.

Thanks for the attention and your help,

Sergio

​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20250217/5f0012de/attachment.htm>


More information about the PyQt mailing list