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

qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "/tmp/_MEI2Cc3ol/cv2/qt/plugins"



  • i am trying to make a screen recorder app and the code part is complete but after making the linux executable and run the application i get this error

    ( My OS is pop os 'linux' )

    qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "/tmp/_MEI2Cc3ol/cv2/qt/plugins"
    This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
    
    Aborted (core dumped)
    

    i have no idea what to do
    can any one help me in fixing this issue??
    thankyou in advance!!


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Please take the time to search the forum. That question has been asked many times already.

    The first step is to start your application with the QT_DEBUG_PLUGINS environment variable set to 1.


Log in to reply