I can't open qtcreator in ubuntu
-
wrote on 29 Dec 2020, 19:31 last edited by
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 ?
-
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 ?
-
wrote on 29 Dec 2020, 19:54 last edited by
From terminal:
~/Qt/Tools/QtCreator/bin$ qtcreatorCommand 'qtcreator' not found, but can be installed with:
sudo apt install qtcreator
I have been using ubuntu for 2months
-
To execute an application from its containing folder use
./name_of_executable
. -
wrote on 29 Dec 2020, 20:07 last edited by
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.
-
wrote on 29 Dec 2020, 20:17 last edited by
ok, but how can i do that? In trminal?
-
wrote on 29 Dec 2020, 20:52 last edited by
thx you all, now works
-
What did you have to modify ?
-
@aaron2020 hi and welcome to devnet,
What exactly did you do ?
What exactly did you install ? -
wrote on 3 Apr 2021, 12:27 last edited by
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. -
@aaron2020 hi and welcome to devnet,
What exactly did you do ?
What exactly did you install ?wrote on 24 Apr 2021, 18:09 last edited by@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 ?
-
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 ?
-
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.wrote on 29 Apr 2021, 22:07 last edited by@Leon-Abascal you save my life! Same problem and same working solution! (ubuntu 21.04 in virtualbox)