ncu-ui赢得了运行:无法加载QT Platform插件“ XCB”在“”即使发现
我正在尝试在CentOS 7 Linux系统(使用NCU-UI 2022.1)上运行ncu-ui
profiler gui,无论是root还是常规用户。我遇到了错误:
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: xcb.
我已经安装了一堆XCB库,问题并没有消失。我应该怎么办?
I'm trying to run the ncu-ui
profiler GUI on a CentOS 7 Linux system (using ncu-ui 2022.1), both as root and as a regular user. I'm getting the error:
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: xcb.
I've installed a bunch of xcb libraries, and the problem doesn't go away. What should I do?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
就我而言,它缺少libxcb-xinput。因此,
解决了问题。
In my case it was missing libxcb-xinput. Therefore,
fixed the issue.
tl; dr:install
libxkbcommon-x11
。您注意错误消息的结束
如果 运行该操作时:
他们的关键行是:
因此,安装
libxkbcommon-x11
(也许libxkbcommon
均为良好的措施)。那应该做到。但是 - 如果您收到有关丢失文件的不同错误消息,则需要弄清楚它属于哪个软件包。tl;dr: Install
libxkbcommon-x11
.If you'll note the end of the error message, it says:
Here's what you might get when running that:
They key line is:
so, install
libxkbcommon-x11
(and maybelibxkbcommon
for good measure). That should do it. But - if you got a different error message about a missing file, you need to figure out which package it belongs to.