You are not logged in.
So I have been trying to make gnuplot work, but it always hang. If I try to run gnuplot_qt it says:
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.
[1] 3512 abort (core dumped) gnuplot_qt
I have all the dependencies, it just couldn't find the xcb plugins, I even tried setting up QT_PLUGIN_PATH.
Any ideas? What to do?
Last edited by navirana (2017-06-05 04:54:35)
Offline
It seems to work for me. Can you try to set the terminal to x11:
GNUTERM=x11 gnuplot
I do not know much about gnuplot, but if the qt terminal fails it is likely that you miss some libraries, maybe libxcb? or qt5-base? Ensure that your system is up to date and check the dependency integrity (pacma -Dk).
Offline
Afaik if xcb is needed that might also have some issues running within Wayland, so if you are on Wayland you might want to try and run a Xorg session instead
Offline
I have all the dependencies, which one can check by
ldd /usr/lib/qt/plugins/platforms/libqxcb.so
which doesn't spits out any unmet dependencies.
Offline
Never mind. I solved it. The problem was with the qt plugin directory. I had ovito installed for no reasons, which set the plugin directory to the ovito installation. Unistalling it
solved the problem.
I don't know why setting QT_PLUGIN_PATH didn't work though.
Offline