OpenCOR,“无法找到或加载 Qt 平台插件“xcb””

OpenCOR,“无法找到或加载 Qt 平台插件“xcb””

我正在尝试安装OpenCor

当我尝试启动它时收到以下错误消息:

This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".

Available platform plugins are: xcb.

Reinstalling the application may fix this problem.
Aborted (core dumped)

我在互联网上找到了很多页面和一些帖子,但没有一个能解决我的问题......

我使用 Ubuntu 16.04 LTS

编辑

我已尝试:

sudo apt-get install xcb 

已经满足了:

xcb is already the newest version (2.4-4.3).
The following packages were automatically installed and are no longer required:
  linux-headers-4.13.0-36 linux-headers-4.13.0-36-generic
  linux-image-4.13.0-36-generic linux-image-extra-4.13.0-36-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.

我尝试了几乎所有建议这个帖子并且没有安装 PPA。

编辑2

命令 : sudo apt upgrade

返回 :

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  linux-headers-4.13.0-36 linux-headers-4.13.0-36-generic
  linux-image-4.13.0-36-generic linux-image-extra-4.13.0-36-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

并且仍然存在同样的问题,OpenCOR并且来自@Fabby 的小脚本仍然根本没有提供输出......

答案1

稳定的OpenCOR 0.5在干净的 Ubuntu 16.04 LTS 上工作

cd ~/Downloads
wget http://www.opencor.ws/downloads/0.5/OpenCOR-0-5-Linux.tar.gz
tar -xf OpenCOR-0-5-Linux.tar.gz
cd OpenCOR-0-5-Linux/
./OpenCOR

但在启动时显示警告:

/usr/lib/x86_64-linux-gnu/libproxy.so.1: symbol _ZTTNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgiolibproxy.so

您可以使用以下方式删除这些消息

sudo apt-get install glib-networking

但它表明错误:非法值在界面中:

Ubuntu Xenial 上的 OpenCOR 0.5

我不熟悉这个程序,所以我不知道它是否重要。

--

似乎最新快照
版本在全新安装的 Ubuntu 16.04 LTS上开箱即用。

您可以继续:

cd ~/Downloads
wget http://www.opencor.ws/downloads/snapshots/2018-04-23/OpenCOR-2018-04-23-Linux.tar.gz
tar -xf OpenCOR-2018-04-23-Linux.tar.gz
cd OpenCOR-2018-04-23-Linux/
./OpenCOR

然后它的 GUI 窗口被打开:

16.04 LTS 上的 OpenCOR 快照

相关内容