I can't open qtcreator in ubuntu
-
Hi,
I have a problem... I can not open my qt creator app. I click two times but nothing happens. I already reinstall qt creator but it doesn't help. Maybe somebody had same problem and can help me.
My softwere: Ubuntu 20.04
I try to install qtcreator with Qt 6 -
Hi and welcome to devnet,
Use a terminal and start Qt Creator from there, you should get some more information about what is going wrong.
How did you install Qt Creator ?
-
Search for the Terminal application, go to the folder where you installed Qt Creator and start it.
What is your level of proficiency with Linux ?
-
To execute an application from its containing folder use
./name_of_executable
. -
oh, sorry
from terminal
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 (memory dump)
-
Start Qt Creator with the QT_DEBUG_PLUGINS environment variable set to 1. It will tell you what made the loading failed.
-
What did you have to modify ?
-
@aaron2020 hi and welcome to devnet,
What exactly did you do ?
What exactly did you install ? -
I experienced the same issue. In the last step, the plugin debug warned me that libxcb-xinerama0 was missing and sudo apt-get install --reinstall libxcb-xinerama0 fixed it.
Hope it helps, cheers. -
@SGaist Hey, I'm getting the same problem as OP
"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 (memory dump)"
changing the QT_DEBUG_PLUGINS variable did not change it. I reinstalled it aswell.
-
Hi and welcome to devnet,
This environment variable triggers debugging output on the console so you get more information about what is failing.
Did you install the libraries @Leon-Abascal suggested ?
-
@Leon-Abascal you save my life! Same problem and same working solution! (ubuntu 21.04 in virtualbox)