qt插件元数据不包含一个有效的元数据,该应用程序无法启动,因为它无法找到或加载Qt平台插件“ xcb”。在“”中...

在另一台机器上运行使用Qt5(通过PyQt)的应用时,出现'无法找到或加载Qt平台插件“xcb”'的错误。通过将~/miniconda3/plugins/platforms复制到~/miniconda3/bin,设置FONTCONFIG_FILE和FONTCONFIG_PATH环境变量,以及QT_XKB_CONFIG_ROOT环境变量,解决了字体显示和按键响应问题。
摘要由CSDN通过智能技术生成

I have an application which runs using Qt5 (via PyQt). I am using miniconda and the python code has been cythonised. The code was setup on my local machine, the cython code produced from the original .py files and the relevant libraries and modules installed in miniconda such that the code runs successfully. Then I ship everything to another machine, compile the cython code to give .so files and attempt to run it. At this point I get the error:

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

in "".

Reinstalling the application may fix this problem.

Aborted (core dumped)

I have looked around for a long time for possible solutions and I have the following extra information:

I have checked ldd on the various .so files. All seem to find the required libraries.

I have tried locate libqx

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值