Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Issue launching code
Hello everyone, I just installed the last free version of Qt Creator on Ubuntu 20.04.1 LTS. I'm trying to launch some examples but every time I get this error:
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, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
I saw different users have the same issue but I am not able to use their solutions for my case.
Thanks in advance to those who will be able to help me.
I just installed the last free version of Qt Creator on Ubuntu 20.04.1 LTS
Did you also install Qt? If so, how and which version?
@jsulm I used the installer from the main site, so I installed Qt 5.14.2 and Qt Creator 4.12.4
Hi and welcome to devnet,
Did you try starting the application with the QT_DEBUG_PLUGINS environment variable set to 1 to see why the plugin fails to load ?
I solved the problem installing uninstalling Qt Creator and reinstalling Qt and Qt Creator from terminal.