Solved Qt Creator don't launch on Ubuntu 20.04 LTS
-
Hello All,
today I installed the lasted Qt LTS Open Source version on Ubuntu 20.04 LTS. I download installer from Qt site (qt-unified-linux-x64-4.0.1-online.run). After instalation I have created new two icons: Qt Creator and Qt Maintenance. I don't know why, but QT Creator don't launch. After clicking Icon nothing happen. Maybe somebody of you know soluton? BR Michał -
Hi and welcome to the forums
Try to start it from a shell and see if something is written so we can debug from there.
Can also try with
/path/qtcreator -noload all -load Coreto see if its a plugin that prevents start.
-
Ok I understand that I should start this program
(/home/apaczenko1993/Qt/Tools/QtCreator/bin/qtcreator)
from shell yes? After this I have this information: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.
Przerwane (zrzut pamięci)
-
@apaczenko1993
This is asked many, many times, and your error message with possible reasons is all over the web.Set environment variable
export QT_DEBUG_PLUGINS=1
in the shell and then try running your program. Look at the end of the diagnostic output for the reason you are failing.[EDIT You can first just try @mrjj's below, it is likely though not certain one of those packages will resolve.]
-
@apaczenko1993
Hi
It seems the "normal" ubuntu casehttps://forum.qt.io/topic/116299/qt-creator-ubuntu-20-04
so try
sudo apt-get install libxcb-randr0-dev libxcb-xtest0-dev libxcb-xinerama0-dev libxcb-shape0-dev libxcb-xkb-dev(might not need all )
-
Ok after:
sudo apt-get install libxcb-randr0-dev libxcb-xtest0-dev libxcb-xinerama0-dev libxcb-shape0-dev libxcb-xkb-deveverything works well
Thanks -
@apaczenko1993 It's now early June '21, and the problem still exists. Fortunately, you guys had the answer. It took me a while to find it, but it solves the problem. Thank you very much!