Add a note about Qt6 installed from pip and libxcb errors

This commit is contained in:
Laurent Monin
2024-04-29 12:55:46 +02:00
committed by Philipp Wolfer
parent 4af62cc88b
commit fbb3a1f8cd

View File

@@ -62,6 +62,23 @@ To uninstall Picard run:
pip3 uninstall picard
Note about Qt6 installed via pip
--------------------------------
If you get errors related to `libxcb` on application startup, you may need to install extra libraries on your system.
Typical error looks like:
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
In this case, you have to install extra packages system-wide, for example, in this case, on Ubuntu:
sudo apt install libxcb-cursor0
Installation using setup.py
---------------------------