Я получил эту точную ошибку в Linux.
qt.qpa.plugin: 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)
Во-первых, определение этой переменной среды перед запуском qtcreator приводит к выводу дополнительной отладки:
export QT_DEBUG_PLUGINS=1
А потом в отладке он сказал это при попытке запустить qtcreator из командной строки на Ubuntu 18.04:
Cannot load library /home/myuser/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so: (libxkbcommon-x11.so.0: cannot open shared object file: No such file or directory)
Обратите внимание, что он не может найти libxkbcommon-x11, поэтому исправление было следующим:
sudo apt-get install libxkbcommon-x11-dev
export PATH=$PATH:~/Qt/Tools/QtCreator/bin
Теперь запускается qtcreator.