在Linux上使用PyQt5时,出现
qt.qpa.plugin: Could not load the Qt platform plugin “xcb” in “” even though it was found.错误,
通过调试发现是libxcb-xinerama0丢失,安装libxcb-xinerama0即可解决:
sudo apt install libxcb-xinerama0
作者:txfly
链接:https://www.jianshu.com/p/b51008566134
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。