centos 安装ovito运行时,报错:
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: minimal, offscreen, vnc, xcb.
Aborted (core dumped)
网上的解决办法:
sudo apt-get install libxcb-xinerama0
所以我使用了
yum install libxcb-xinerama0
结果发现并没有这个包!!最终在ovito的官方手册找到了解决办法!
# On CentOS/RHEL systems:
sudo yum install libxcb xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-wm
另外手册还介绍了其他常见的问题,详情请见:https://www.ovito.org/docs/current/installation.html