思路一.设置环境变量 export QT_DEBUG_PLUGINS=1 加了这个环境变量,看到QT程序加载的过程,看到了详细的报错信息。 最后一部分是这样的: Found metadata in lib /usr/lib64/qt5/plugins/platforms/libqxcb.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData"...
Platform: How you installed Python: Did you also try this on another platform? Does it work there? works on red hat 7, not on red hat 8 NO Errors on pyinstaller log, executable is well generated but crashes with the xcb error. Either you are missing a low-level dependency of thexcbp...
至此,could not find or load the Qt platform plugin "xcb" in "". 这个现象算是搞清楚了,和xcb和platform没关系,而是库文件引用路径的问题,检查路径即可。 问题解决!
it could not find or load the Qt platform plugin “xcb” in “” 1. 问题就在于它找不到 xcb 者个lib文件了 ok,好,首先先看看这个文件有没有,每个人报这个错误的原因是不同的 1.可能你在写Qt应用程序,然后报了这个错误那 么 2.可能你跟我一样,就是向要用pycharmdebug一下,那请你继续看: ...
简介.zshrc 里面进行设置 export QT_QPA_PLATFORM_PLUGIN_PATH=/mnt/hdd1/software/qt5_12_0/5.12.0/gcc_64/plugins/platforms 其中路径为自己设定的路径
安装libxcb-xinerama库: 再次运行qt程序,就可以正常运行了。 后记 又可以愉快的coding了。 总结 到此这篇关于Ubuntu18.04下Qt出现qt.qpa.plugin:Could not load the Qt platform plugin “xcb“问题解决方法的文章就介绍到这了,更多相关Ubuntu18.04解决Qt出现qt.qpa.plugin内容请搜索以前的文章或继续浏览下面的相关文...
out = This application failed to start because it could not find or load the Qt platform plugin "xcb". I already looked at the answers provided here : https://fr.mathworks.com/matlabcentral/answers/272702-opening-exe-file-from-matlab-in-ubuntu-gives-error but I have not been able to mak...
sh xx.sh(运行的程序,一下为系统弹出的报警内容) qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem Aborted (core dumped) 解决方法: 1、打开...
qt.qpa.plugin:CouldnotfindtheQtplatformplugin"xcb"i 1. windows下没有出现过这个问题,ubuntu经常出现,主要在使用opencv的时候出现,这时候i,需要把你使用的python环境下的,某个库进行指明。 envpath='/home/diyun/anaconda3/envs/transformer_py38/lib/python3.8/site-packages/cv2/qt/plugins/platforms' ...