Qt Creator failed to launch on Ubuntu 18
Solved
Installation and Deployment
-
Hello,
I have a freshly installed Qt 5.15.2 on Ubuntu 18, but when I click on the Qt Creator icon, it fails to launch without an error message. I've used previous versions before with the only issue being that I have to include a specific Linux .so file to make it work.
Kindly help out with a solution. -
@Uzosky said in Qt Creator failed to launch on Ubuntu 18:
Is missing. Install libxcb-xinerama Ubuntu package.
-
Hi @jsulm ,
I tried:Qt/Tools/QtCreator/bin/qtcreator -noload all
I get:
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)
-
@jsulm said in Qt Creator failed to launch on Ubuntu 18:
Qt/Tools/QtCreator/bin/qtcreator -noload all
Here it is:Qt/Tools/QtCreator/bin/qtcreator -noload all QFactoryLoader::QFactoryLoader() checking directory path "/home/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms" ... QFactoryLoader::QFactoryLoader() looking at "/home/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqeglfs.so" Found metadata in lib /home/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqeglfs.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "eglfs" ] }, "archreq": 0, "className": "QEglFSIntegrationPlugin", "debug": false, "version": 331520 } Got keys from plugin meta data ("eglfs") QFactoryLoader::QFactoryLoader() looking at "/home/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqlinuxfb.so" Found metadata in lib /home/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqlinuxfb.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "linuxfb" ] }, "archreq": 0, "className": "QLinuxFbIntegrationPlugin", "debug": false, "version": 331520 } Got keys from plugin meta data ("linuxfb") QFactoryLoader::QFactoryLoader() looking at "/home/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqminimal.so" Found metadata in lib /home/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqminimal.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "minimal" ] }, "archreq": 0, "className": "QMinimalIntegrationPlugin", "debug": false, "version": 331520 } Got keys from plugin meta data ("minimal") QFactoryLoader::QFactoryLoader() looking at "/home/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqminimalegl.so" Found metadata in lib /home/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqminimalegl.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "minimalegl" ] }, "archreq": 0, "className": "QMinimalEglIntegrationPlugin", "debug": false, "version": 331520 } Got keys from plugin meta data ("minimalegl") QFactoryLoader::QFactoryLoader() looking at "/home/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqoffscreen.so" Found metadata in lib /home/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqoffscreen.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "offscreen" ] }, "archreq": 0, "className": "QOffscreenIntegrationPlugin", "debug": false, "version": 331520 } Got keys from plugin meta data ("offscreen") QFactoryLoader::QFactoryLoader() looking at "/home/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqvnc.so" Found metadata in lib /home/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqvnc.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "vnc" ] }, "archreq": 0, "className": "QVncIntegrationPlugin", "debug": false, "version": 331520 } Got keys from plugin meta data ("vnc") QFactoryLoader::QFactoryLoader() looking at "/home/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so" Found metadata in lib /home/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "xcb" ] }, "archreq": 0, "className": "QXcbIntegrationPlugin", "debug": false, "version": 331520 } Got keys from plugin meta data ("xcb") QFactoryLoader::QFactoryLoader() checking directory path "/home/uzisky/Qt/Tools/QtCreator/bin/platforms" ... Cannot load library /home/uzisky/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/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so" : "Cannot load library /home/uzisky/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. Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb. Aborted (core dumped)
-
@Uzosky said in Qt Creator failed to launch on Ubuntu 18:
Is missing. Install libxcb-xinerama Ubuntu package.