Unsolved My QT Creator does not launch
-
Hello i got a QT Creator 5.12.10 in my ubuntu 20.01 using virtualbox i just installed it and when i try to launch it doesn't work.
Last time i had installed another ubuntu same version in my pc and used QT Creator without a problem, but know i have the same ubuntu, installed the same QT Creator and it doesn't launches. -
Hi and welcome to devnet,
There's no such version of Qt Creator. If the latest version you may have either some libraries missing or the wrong version. Call ldd on the xcb plugin to see what is going on.
-
@SGaist Hi, thank you for the greetings, i downloaded it from this link https://www.qt.io/offline-installers
the offline installer, linux host. -
@SantinoDv "Call ldd on the xcb plugin to see what is going on."
You can also try to launch QtCreator with "-load all" parameter. If it starts then then disable all plug-ins and then enable plug-ins one by one untill it does not start, then you know which plug-in does not work (disable it). -
I have the same problem.
CentOS 8.2 64-bit.
Qt 5.9.2 was installed before. I removed it.
Qt 5.12.10 installed under the "root" user.
The Qt Creator icon presents in the "applications" only if I connect by "root". But I can't lunch the Creator under any user.
I tried to lunch it from the console and direct from the opt/Qt/Tools/QtCreator/bin folder. When I try to lunch it from the command line, I get the next:
I installed Qt 5.12.10 in the online and offline mode. All the same. Qt 5.9.2 has not this problem.
I newbie in the Qt and Linux. How can I try to fix it?
What is this "Call ldd on the xcb plugin to see what is going on."? Where can I find it? -
@vs20 If you start it from /opt/Qt/Tools/QtCreator/bin then you have to do it like this:
./qtcreator
This is a UNIX thing to prevent attacks where a tool installed in a system folder is replaced with one with same name but inside user folder. So, you have to tell the system that you want to start it from current directory using ./
-
@jsulm
Thanks. This time I get this message:
-
@vs20 Do
export QT_DEBUG_PLUGINS=1 ./qtcreator
And post the output from the terminal here.
See https://doc.qt.io/qt-5/debug.html -
QFactoryLoader::QFactoryLoader() checking directory path "/opt/Qt/Tools/QtCreator/lib/Qt/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/opt/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqeglfs.so"
Found metadata in lib /opt/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 "/opt/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqlinuxfb.so"
Found metadata in lib /opt/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 "/opt/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqminimal.so"
Found metadata in lib /opt/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 "/opt/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqminimalegl.so"
Found metadata in lib /opt/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 "/opt/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqoffscreen.so"
Found metadata in lib /opt/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 "/opt/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqvnc.so"
Found metadata in lib /opt/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 "/opt/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so"
Found metadata in lib /opt/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 "/opt/Qt/Tools/QtCreator/bin/platforms" ...
Cannot load library /opt/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so: (libxcb-icccm.so.4: cannot open shared object file: No such file or directory)
QLibraryPrivate::loadPlugin failed on "/opt/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so" : "Cannot load library /opt/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so: (libxcb-icccm.so.4: 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)
-
@vs20 said in My QT Creator does not launch:
libxcb-icccm.so.4
this lib is missing. Install libxcb-icccm4 package (this is the package name in Ubuntu).