【问题标题】:Running qtcreator 4.0.1 on a lxc-container在 lxc 容器上运行 qtcreator 4.0.1
【发布时间】:2016-07-09 16:48:51
【问题描述】:

使用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 列为可用插件,但它不运行。有什么建议可以解决这个错误吗?

【问题讨论】:

    标签: qt-creator lxc xcb


    【解决方案1】:

    This answer 有主要解决方案。在我的情况下,我在路径/path_to_qt/plugins/platforms/ 中找到了libqxcb.so,在对其运行ldd 命令后,我发现在使用sudo apt install libegl-mesa0-dev 安装此软件包后,它没有依赖libEGL.so,我可以运行qtcreator。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2013-03-24
      • 1970-01-01
      • 2020-05-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-10-06
      相关资源
      最近更新 更多