其他分享
首页 > 其他分享> > qt.qpa.plugin: Could not load the Qt platform plugin “xcb“ in ““ even though it was found. This appl

qt.qpa.plugin: Could not load the Qt platform plugin “xcb“ in ““ even though it was found. This appl

作者:互联网

在ubuntu上使用qt出现报错:


解决方法:
1、在运行py文件前输入:export QT_DEBUG_PLUGINS=1,然后运行py程序能够查看具体错误如下:
2、此处是缺少libxcb-xinerama库


进行安装:sudo apt-get install libxcb-xinerama0

再次执行

启动

标签:load,xcb,qt,plugin,py,报错,libxcb
来源: https://blog.csdn.net/pingxiaozhao/article/details/112062115