1、运行环境和启动报错:
1.1、操作系统和软件版本
操作系统:Ubuntu 24.04 LTS
QT软件:qt-online-installer-linux-x64-4.8.0.run
1.2、软件启动报错
启动QT时报错,如图所示:
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: vnc, minimalegl, wayland, offscreen, xcb, vkkhrdisplay, eglfs, minimal, wayland-egl, linuxfb.
…………
2、问题说明和解决方案:
2.1、问题说明
缺少库,需要安装libxcb-cursor0
2.2、解决方案
root权限终端安装libxcb-cursor0库:sudo apt-get install libxcb-cursor0