Could not load the Qt platform plugin “xcb” in “” even though it was found. This application faile

vmware16 虚拟机
ubuntu20.04
qt 5.15
运行examples时,报错

 Could not load the Qt platform plugin “xcb” in “” even though it was found.This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.Aborted (core dumped)

解决方法:

$ sudo apt-get install libxcb-xinerama0

再次运行,成功,具体信息参见
https://cloud.tencent.com/developer/article/1726400


本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!

相关文章

立即
投稿

微信公众账号

微信扫一扫加关注

返回
顶部