我在 Ubuntu 20.04.6 LTS 上使用 Qt。我收到了有关 Qt 更新的通知,因此我更新了 Qt。之后,每当我尝试打开 Qt Creator 时,都会收到此错误:
from 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform 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, scb, eglfs, minimal, linuxfb, vkkhrdisplay, offscreen, vnc, wayland, wayland-egl.
我尝试卸载并重新安装 Qt,但没有帮助。我还研究了 Stack Overflow 和其他平台上提供的其他问题和答案,但没有一个能解决我的问题。
我试过了:
问题截图: