Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.



  • Hello
    I download qt creator I am getting this message:

            21:35:43: Starting /home/kayshika/anaconda3/bin/python -u /home/kayshika/untitled1/main.py...
            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, minimal, minimalegl, offscreen, vnc, xcb.
            
            ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=1 subj==unconfined pid=13820 comm="python" exe="/home/kayshika/anaconda3/bin/python3.8" sig=6 res=1
            21:35:44: The program has unexpectedly finished.
            21:35:44: The process was ended forcefully.
            21:35:44: /home/kayshika/anaconda3/bin/python crashed.
            
            21:38:41: Starting /home/kayshika/anaconda3/bin/python -u /home/kayshika/untitled1/main.py...
            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, minimal, minimalegl, offscreen, vnc, xcb.
            
            ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=1 subj==unconfined pid=14264 comm="python" exe="/home/kayshika/anaconda3/bin/python3.8" sig=6 res=1
            21:38:42: The program has unexpectedly finished.
            21:38:42: The process was ended forcefully.
            21:38:42: /home/kayshika/anaconda3/bin/python crashed.
            
            21:38:48: Starting /home/kayshika/anaconda3/bin/python -u /home/kayshika/untitled1/main.py...
            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, minimal, minimalegl, offscreen, vnc, xcb.
            
            ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=1 subj==unconfined pid=14293 comm="python" exe="/home/kayshika/anaconda3/bin/python3.8" sig=6 res=1
            21:38:49: The program has unexpectedly finished.
            21:38:49: The process was ended forcefully.
            21:38:49: /home/kayshika/anaconda3/bin/python crashed.
    

    Linux distro is manjaro which is based on archlinux. Any idea what is going on?

    Thank you and best regards



  • @kayshika
    export QT_DEBUG_PLUGINS=1 and then run your app for diagnostic information. Probably need to apt-get some other library.


Log in to reply