qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
-
Hello,
I'am just installing Qt Creator on Debian 10. Th installation is successful but when I double click on the shortcut desktop nothing is happening.
I try to launch the software with a terminal and I have this result :aurelien@debian:~$ /home/aurelien/Qt/Tools/QtCreator/bin/qtcreator 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. Abandon
I'have read about this on forum but nothing works.
Can yo tell me how can I fix this issue please ?
Regards
-
Hi and welcome to devnet,
Start again your application with the QT_DEBUG_PLUGINS environment variable set to 1.
You'll have information about what is happening with the plugins.
-
Hi @SGaist ,
When I do :QT_DEBUG_PLUGINS=1
then it's the same result :
/home/aurelien/Qt/Tools/QtCreator/bin/qtcreator 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. Abandon
Perhaps it's not the good process to change the QT_DEBUG_PLUGINS environment variable. Sorry, i'm a beginner informatic student :)
-
How did you do that exactly ?
-
As I said, I did :
aurelien@debian:~$ QT_DEBUG_PLUGINS=1 aurelien@debian:~$ /home/aurelien/Qt/Tools/QtCreator/bin/qtcreator 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. Abandon
-
@aurelien13410 does your environment meet the Qt for X11 requirements?
-
Beside what @Pablo-J-Rogina suggested, you can also run ldd against the xcb plugin that you'll find under the QtCreator folder to see if you are missing something.
-
@Pablo-J-Rogina I have installed all packages with "apt-get install myPackage" and it works ! Thanks you very much for your help !
@SGaist thanks you also -
@aurelien13410 said in qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.:
it works !
Please don't forget to mark your post as solved! and to upvote the answer(s) that have helped you :-)