missing wl_proxy_marshal_flags on PyQt6 >= 6.5.1

Phil Thompson phil at riverbankcomputing.com
Thu Nov 9 09:31:40 GMT 2023


On 09/11/2023 07:05, Colin Macdonald wrote:
> Hi Phil,
> 
> Apparently Debian 11 ships an older version of Wayland, and anything
> >= 6.5.0 does not work
> 
> /home/cbm/.local/lib/python3.9/site-packages/PyQt6/Qt6/plugins/platforms/../../lib/libQt6WaylandClient.so.6:
> undefined symbol: wl_proxy_marshal_flags
> 
> I hit this when running to run PyQt6 on Chrome OS but it seems like it
> effects WSL2 and anyone using Debian 11:
> 
> https://bugreports.qt.io/browse/QTBUG-114635
> 
> This is issue apparently that Debian 11 does not have wayland >= 
> 1.19.91.
> 
> I have verified that `pip install PyQt6==6.5.0 PyQt6-Qt6==6.5.0` works
> fine on Chrome OS.  6.5.1, 6.5.3 and 6.6.0 do not.  Even with Flatpak,
> I get crashes about this symbol as soon as I close any window.

The copy of Qt6 in the PyQt6-Qt6 wheels is a repackaging of the Qt from 
the online installer. The problem is a mismatch between that and Debian 
which I can't do anything about.

Phil


More information about the PyQt mailing list