Owncloud无法加载Qt-platform xcb


1

我尝试在Debian桌面上运行owncloud客户端。我apt-get install owncloud-client这样做了。但是,当我owncloud在命令行上发出以下错误时:

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

Available platform plugins are: linuxfb, minimal, minimalegl, offscreen.

Reinstalling the application may fix this problem.

但是当我从存储库安装软件包时,损坏的库依赖关系应该没有问题。验证我是否使用过ldd

ldd /usr/bin/owncloud | grep xcb

输出:

libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f190be16000)
libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f190acd3000)
libxcb-glx.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0 (0x00007f190aaba000)
libxcb-dri2.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0 (0x00007f190a8b5000)
libxcb-dri3.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0 (0x00007f190a6b2000)
libxcb-present.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-present.so.0 (0x00007f190a4af000)
libxcb-sync.so.1 => /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1 (0x00007f190a2a8000)

我还能怎么做才能找到问题?

Answers:


0

尽管所有依赖项都根据命令完成ldd,但实际上不是。在Debian 8上,我需要安装Qt5:

apt-get install qt5-default

这样就解决了问题。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.