我正在尝试运行一个应用程序,该应用程序显然在我的 SLES 15 SP5 上使用了一些 Qt6 功能。当我这样做时,我收到以下错误消息:
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
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: wayland, offscreen, xcb, wayland-egl.
Application could not be initialized!
This is likely due to missing Qt platform dependencies.
For a list of dependencies, please refer to https://doc.qt.io/qt-6/linux-requirements.html
To view missing libraries, set QT_DEBUG_PLUGINS=1 and re-run the application.
Warning: OpenGL Version check failed. Falling back to Mesa software rendering.
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
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: wayland, offscreen, xcb, wayland-egl.
该应用程序的早期版本曾经可以工作。另外,我没有看到发行包提到“libxcb-cursor”之类的内容。
我尝试选择其他平台插件设置; wayland 和 wayland-egl 刚刚失败,offscreen 成功,但没有显示任何内容。
我该怎么做才能让这个应用程序运行:
笔记:
- 如果重要的话,该应用程序是 NVIDIA NSight Compute 2024.1。
- 假设我可以获得 root 访问权限(但我们不要太疯狂)