其他分享
首页 > 其他分享> > This application failed to start because it could not find or load the Qt platform plugin "xcb&

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

作者:互联网

使用ldd demo命令查看应用程序的依赖时,可以找到‘xcb’的库,但是依然报:

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

参考解决方法:https://askubuntu.com/questions/308128/failed-to-load-platform-plugin-xcb-while-launching-qt5-app-on-linux-without

我的解决方法,执行了该命令:

sudo ln -sf /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/ /usr/bin/

就可以了,但是真正的原理还不是特别清楚。

标签:load,xcb,because,plugin,failed,platform
来源: https://blog.csdn.net/weixin_38293850/article/details/99866587