Skip to content

Commit

Permalink
Add a note about Qt6 installed from pip and libxcb errors
Browse files Browse the repository at this point in the history
  • Loading branch information
zas committed Apr 29, 2024
1 parent 4af62cc commit d2d5681
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,26 @@ The binaries for Python, GetText (`msgfmt`), `fpcalc` and `discid.dll` have to b
in the `%PATH%` on Windows.


Note about Qt6 installed via pip:
---------------------------------

If you get errors related to `libxcb` on application startup, you may need to install extra librairies on your system.

Typical error looks like:

```

Check notice on line 55 in INSTALL.md

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

INSTALL.md#L55

Expected: indented; Actual: fenced

Check notice on line 55 in INSTALL.md

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

INSTALL.md#L55

Fenced code blocks should have a language specified
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:

```bash

Check notice on line 63 in INSTALL.md

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

INSTALL.md#L63

Expected: indented; Actual: fenced
sudo apt install libxcb-cursor0
```


Installation using pip
----------------------

Expand Down

0 comments on commit d2d5681

Please sign in to comment.