在lxc容器上运行qtcreator 4.0.1

时间:2016-07-09 16:48:52

标签: qt-creator lxc xcb

使用this link我创建了一个容器,在获得一些包之后,我想在它上面启动一个qtcreator 4.0.1。我使用ssh连接来连接容器。启动qtcreator后,我收到如下错误:

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

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

Reinstalling the application may fix this problem.

我按照列出的here安装了所有必备软件包,但仍然存在问题。 我必须提到我在link的对面使用特权容器。

xcb列为可用插件,但不会运行。有什么建议可以解决这个错误吗?

1 个答案:

答案 0 :(得分:0)

This answer有主要解决方案。在我的情况下,我在路径libqxcb.so中找到/path_to_qt/plugins/platforms/,在运行ldd命令后,我发现在使用{安装此包后,它没有一个依赖项libEGL.so {1}}我可以运行qtcreator。