abey79 / vpype

The Swiss-Army-knife command-line tool for plotter vector graphics.
https://vpype.readthedocs.io/
MIT License
706 stars 63 forks source link

Pyside 6.5.0 breaking changes (Linux) #635

Open ithinkido opened 1 year ago

ithinkido commented 1 year ago

There are breaking changes on PySide 6.5.0.

when trying to use show the following errors are produced

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.

Available platform plugins are: minimalegl, offscreen, wayland, vkkhrdisplay, wayland-egl, minimal, linuxfb, vnc, eglfs, xcb.

Aborted (core dumped)

As a workaround when installing 1.3.1 use ver. 6.4..3

pipx inject vpype pyside6==6.4.3

Alternatively

sudo apt install libxcb-cursor0 -y

psergiu commented 5 months ago

Had the same issue, even after installing libxcb-cursor0 Ran the following to see what else is needed:

export QT_DEBUG_PLUGINS=1

turns out the following packages (Debian/Ubuntu) are also needed:

libxkbcommon-x11-0
libxcb-icccm4
libxcb-keysyms1

now both show and show --classic are working.