Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 4.13.1
-
None
Description
kevin@ubuntu:~/Qt/Tools/QtCreator/bin $ ./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, linuxfb, minimal, minimalegl, offscreen, vnc, xcb. Aborted (core dumped)
Relevant output when launching with QT_DEBUG_PLUGINS=1:
Got keys from plugin meta data ("xcb") QFactoryLoader::QFactoryLoader() checking directory path "/home/kevin/Qt/Tools/QtCreator/bin/platforms" ... Cannot load library /home/kevin/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: cannot open shared object file: No such file or directory) QLibraryPrivate::loadPlugin failed on "/home/kevin/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so" : "Cannot load library /home/kevin/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so: (libxcb-xinerama.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.
Not sure if there was something that should've prompted me to install the missing libxcb library here, but it seems like (for the average user) figuring out why Qt Creator is failing to launch would be challenging.
Attachments
Issue Links
- resulted from
-
QTBUG-84749 QT applications fail to run if xcb_xinerama (or other xcb libraries) is not installed
- Closed