应用程序无法启动,因为它找不到或加载QT平台插件“ XCB”在

发布于 2025-02-10 14:49:17 字数 434 浏览 1 评论 0原文

我正在使用QTCreator来构建和运行我的程序。构建是成功的,但是在运行时,我会收到以下错误

This application failed to start because it could not find or load the Qt platform plugin "xcb"
Reinstalling the application may fix this problem.

,我正在使用QT5.6.1-1和创建者4.0.3基于QT 5.6.1

通过导出路径尝试
导出qt_plugin_path =/home/sysuser/developmer/qt5.6.1-1/插件/平台 仍然无法正常工作,

我还安装了QT5.12.6,但是该应用需要QT 5.6.1,因此我更名为QT5.12.6文件夹。

任何灯都将是一个很好的帮助

I am using Qtcreator to build and run my program. Build is success but while running I am getting the following error

This application failed to start because it could not find or load the Qt platform plugin "xcb"
Reinstalling the application may fix this problem.

I am using Qt5.6.1-1 and creator 4.0.3 based on Qt 5.6.1

Tried by exporting path
export QT_PLUGIN_PATH=/home/SysUser/Development/Qt5.6.1-1/plugins/platforms
Still its not working

I am having Qt5.12.6 also installed but this app need Qt 5.6.1 so I renamed Qt5.12.6 folder.

Any lights will be a great help

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文