Skip to content

Commit

Permalink
Update install docs for missing Qt plugin
Browse files Browse the repository at this point in the history
Add troubleshooting for installing Mayavi when a Qt plugin is not available, such as in the CI workflow.
  • Loading branch information
yoda-vid committed Jun 23, 2021
1 parent d17a3eb commit 65545c8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,15 @@ qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it
- `libXrender.so.1`: Install `libxrender1`
- `libxcb-xinerama.so.0`: Install `libxcb-xinerama0`
```
Could not load the Qt platform plugin "xcb" in "" even though it was found.
WARNING: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
```
- For non-graphical environments with this additional error info, may need to set an offscreen plugin: `export QT_QPA_PLATFORM=offscreen`
Additional errors:
- PyQt5 5.12 may give an `FT_Get_Font_Format` error, requiring manual downgrade to 5.11.3, though 5.12 works on Ubuntu 18.04
Expand Down

0 comments on commit 65545c8

Please sign in to comment.