Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 12.0.0
-
None
-
Ubuntu 23.10, Ubuntu 20.04
Description
I updated to QtCreator 12.0.0 with the online installer and after that it failed to start. Tested on two machines, one with Ubuntu 20.04 and another with the latest Ubuntu 23.10.
When I start from GUI (Gnome Applications menu) nothing happens.
When i run from terminal i get:
$ ./qtcreator 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, minimalegl, vnc, wayland, minimal, offscreen, wayland-egl, vkkhrdisplay, linuxfb, xcb.Aborted (core dumped)
When i run with debugging enabled:
$ QT_DEBUG_PLUGINS=1 ./qtcreator ... ... ... qt.core.plugin.factoryloader: looking at "/home/user/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so" qt.core.plugin.loader: Found metadata in lib /home/user/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "xcb" ] }, "archlevel": 1, "className": "QXcbIntegrationPlugin", "debug": false, "version": 394752 } qt.core.plugin.factoryloader: Got keys from plugin meta data QList("xcb") qt.core.plugin.factoryloader: checking directory path "/home/user/Qt/Tools/QtCreator/bin/platforms" ... qt.core.library: "/home/user/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so" cannot load: Cannot load library /home/user/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so: (libxcb-cursor.so.0: cannot open shared object file: No such file or directory) qt.core.plugin.loader: QLibraryPrivate::loadPlugin failed on "/home/user/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so" : "Cannot load library /home/user/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so: (libxcb-cursor.so.0: cannot open shared object file: No such file or directory)" 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, minimalegl, vnc, wayland, minimal, offscreen, wayland-egl, vkkhrdisplay, linuxfb, xcb. Aborted (core dumped)
libxcb-cursor.so.0 is not installed by default on any version of Ubuntu. It exists in the repositories official but it is not installed by default. This bug is probably caused by QtCreator 12 using Qt 6.5 which included this new dependency.
Attachments
Issue Links
- duplicates
-
QTBUG-108796 Some examples crash when running with Qt 6.5 kit
- Closed
-
QTCREATORBUG-29873 Qt creator fails to start on debian bookworm
- Closed
- relates to
-
QTCREATORBUG-31390 Qt Creator 14 fails to start on Linux on ARM (RPi 5) with a core dump
- Closed