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

余生长醉 提交于 2019-12-07 02:42:29

A number of steps were necessary to resolve the errors above:

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

Reinstalling the application may fix this problem.
Aborted (core dumped)

This can be resolved by copying ~/miniconda3/plugins/platforms to ~/miniconda3/bin.

In addition in the bash script which launches the Qt GUI I have added the following lines, otherwise all the text in the GUI appears in Courier:

export FONTCONFIG_FILE=/etc/fonts/fonts.conf
export FONTCONFIG_PATH=/etc/fonts/

Finally I also needed the following line to allow keypresses to be registered by the GUI:

export QT_XKB_CONFIG_ROOT=/usr/share/X11/xkb

Key to resolving this was the line: export QT_DEBUG_PLUGINS=1 which enabled me to see where Qt was breaking.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!