Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
Qt 6.11 is out! See what's new in the release blog

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

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
15 Posts 3 Posters 4.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #4

    You should rather check your conda environment. That library should not be broken inside it.

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    1 Reply Last reply
    0
    • A Offline
      A Offline
      austom
      wrote on last edited by
      #5

      e372a61a-0ee3-40f0-9853-486d196d611b-image.png
      The environment variables look like this, but I still can't find what went wrong.

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #6

        Not the environment variables, the conda environment content itself.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        A 1 Reply Last reply
        0
        • SGaistS SGaist

          Not the environment variables, the conda environment content itself.

          A Offline
          A Offline
          austom
          wrote on last edited by
          #7

          @SGaist
          Sorry I misunderstood.But how to check if there is a problem with the library?
          533ca26c-ab15-484c-97d7-2aada235cd38-image.png
          e0b3a415-49e2-4942-b3c2-1f57dd04f8a5-image.png
          I also created soft links in it.But that doesn't seem to work

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #8

            The main issue from your picture seems that the library seems to be missing. You only have one link and not the final library itself.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            A 1 Reply Last reply
            0
            • SGaistS SGaist

              The main issue from your picture seems that the library seems to be missing. You only have one link and not the final library itself.

              A Offline
              A Offline
              austom
              wrote on last edited by
              #9

              @SGaist
              I have downloaded the .rpm file and use the following command to install it.

              rpm2cpio XCB util - wm - 0.4.1-5. El7. Aarch64. RPM | cpio - idvm
              

              But I didn't instaill it in the conda.Should I install them in the conda environment?
              ed48ad87-78dc-48b7-9968-ca2a4365d4a7-image.png

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #10

                Wait, the original error was that there was an issue with the library file. Now you are modifying your system installation while I am suggesting to check the content of your conda environment.

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                A 1 Reply Last reply
                0
                • SGaistS SGaist

                  Wait, the original error was that there was an issue with the library file. Now you are modifying your system installation while I am suggesting to check the content of your conda environment.

                  A Offline
                  A Offline
                  austom
                  wrote on last edited by
                  #11

                  @SGaist
                  You mean I can't use the soft link instead of original file in the conda environment?

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #12

                    No, I mean you should search why your environment was corrupted rather than trying to force it working using libraires from somewhere else.

                    One simple way would be to create a new environment from scratch to see if you have the same issue.

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    A 1 Reply Last reply
                    0
                    • SGaistS SGaist

                      No, I mean you should search why your environment was corrupted rather than trying to force it working using libraires from somewhere else.

                      One simple way would be to create a new environment from scratch to see if you have the same issue.

                      A Offline
                      A Offline
                      austom
                      wrote on last edited by
                      #13

                      @SGaist I have created a new conda environment. But the problem remains unresolved.The entire process of creating an environment from scratch is as follows.
                      11b3a05f-b9a8-4421-84f0-d862a02e98f4-image.png
                      367296fe-b7aa-4e07-892e-ec831f38f6b9-image.png
                      249ba189-3392-43b2-84cd-100fccfab52e-image.png
                      a25c8969-b1da-4cf3-aa13-be7546284442-image.png

                      1 Reply Last reply
                      0
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #14

                        Please stop installing system packages in your conda environment. The goal of a new environnement is to start debugging your issue from scratch.

                        So please, create a new environment without installing anything other than conda packages.

                        Interested in AI ? www.idiap.ch
                        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                        1 Reply Last reply
                        0
                        • A Offline
                          A Offline
                          alex smith
                          wrote on last edited by
                          #15

                          On Linux, the xcb QPA (Qt Platform Abstraction) platform plugin is used. It provides the basic functionality needed by Qt GUI and Qt Widgets to run against X11. Its library dependencies are described the following table..

                          1 Reply Last reply
                          0

                          • Login

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Users
                          • Groups
                          • Search
                          • Get Qt Extensions
                          • Unsolved