From fbb3a1f8cd3a93fa17b2ea0c7d08689a43e83b10 Mon Sep 17 00:00:00 2001 From: Laurent Monin Date: Mon, 29 Apr 2024 12:55:46 +0200 Subject: [PATCH] Add a note about Qt6 installed from pip and libxcb errors --- INSTALL.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/INSTALL.md b/INSTALL.md index e2555bb68..3d6ab6b90 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -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 ---------------------------