行业知识
ubuntu新安装gnome-desktop后运行pyside6/pyqt5程序报错
2026-11-18 16:31:34
来源:互联网转载
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: offscreen, vkkhrdisplay, eglfs, wayland, linuxfb, vnc, minimalegl, xcb, wayland-egl, minimal.
解决方案:
~$ export QT_DEBUG_PLUGINS=1~$ sudo apt-get install libxcb* libxkbcommon*
上一篇:知道主机编号怎么查激活日期
下一篇:怎么看英雄联盟服务器?