Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. qt.qpa.plugin: Could not load the Qt platform plugin "xcb"
QtWS25 Last Chance

qt.qpa.plugin: Could not load the Qt platform plugin "xcb"

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 2 Posters 2.4k Views
  • 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.
  • R Offline
    R Offline
    rtvideo
    wrote on last edited by
    #1

    Would anyone know why I would be getting this error? I saw a few other people get this, I have tried: export QT_QPA_PLATFORM_PLUGIN_PATH=/home/rt/Downloads/DistributionKit/plugins and it did not work, when i run ldd libqxcb.so I get a long list of .so files

    qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/rt/Downloads/DistributionKit/plugins/platforms:/home/rt/Downloads/DistributionKit/plugins" 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, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

    Aborted (core dumped)

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

      @rtvideo said in qt.qpa.plugin: Could not load the Qt platform plugin "xcb":

      libxcb-xinerama.so.0: cannot open shared object file: No such file or directory)

      You are missing that library on your system. Install 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
      1
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #2

        Hi,

        Start your application with the QT_DEBUG_PLUGINS environment variable set to 1 to see what is happening.

        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
        • R Offline
          R Offline
          rtvideo
          wrote on last edited by
          #3
          This post is deleted!
          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #4

            @rtvideo said in qt.qpa.plugin: Could not load the Qt platform plugin "xcb":

            libxcb-xinerama.so.0: cannot open shared object file: No such file or directory)

            You are missing that library on your system. Install 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
            1
            • R Offline
              R Offline
              rtvideo
              wrote on last edited by
              #5

              Perfect that worked, thank you!

              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