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.xcb: could not connect to display qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
Forum Updated to NodeBB v4.3 + New Features

qt.qpa.xcb: could not connect to display 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
qt5qt.qpa.xcbxcb
26 Posts 4 Posters 12.8k Views 2 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 SGaist

    So it looks like your X server installation is incomplete to run Qt applications with the xcb backend. I would start by fixing that.

    Y Offline
    Y Offline
    Yash_r
    wrote on last edited by
    #21

    @SGaist

    Can you help me with how to fix the incomplete X server installation? Or help provide some resource which can be helpful?

    jsulmJ 1 Reply Last reply
    0
    • Y Yash_r

      @SGaist

      Can you help me with how to fix the incomplete X server installation? Or help provide some resource which can be helpful?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #22

      @Yash_r Install libxcb-xkb1 package on your target device

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      Y 1 Reply Last reply
      0
      • jsulmJ jsulm

        @Yash_r Install libxcb-xkb1 package on your target device

        Y Offline
        Y Offline
        Yash_r
        wrote on last edited by Yash_r
        #23

        @jsulm
        That package is already installed according to the apt-install as can be seen in the below image:
        deca5e9d-2775-47f2-a1c0-1723b737d0d6-image.png

        Also, when i try to run the app (as debian user) from the terminal, i get the following error:
        0b37aee9-60d6-40e0-bded-9ec3c3eea984-image.png

        jsulmJ 1 Reply Last reply
        0
        • Y Yash_r

          @jsulm
          That package is already installed according to the apt-install as can be seen in the below image:
          deca5e9d-2775-47f2-a1c0-1723b737d0d6-image.png

          Also, when i try to run the app (as debian user) from the terminal, i get the following error:
          0b37aee9-60d6-40e0-bded-9ec3c3eea984-image.png

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #24

          @Yash_r Why do you start it with sudo?! By default starting GUI apps with sudo is not allowed for security reasons.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          Y 1 Reply Last reply
          0
          • jsulmJ jsulm

            @Yash_r Why do you start it with sudo?! By default starting GUI apps with sudo is not allowed for security reasons.

            Y Offline
            Y Offline
            Yash_r
            wrote on last edited by Yash_r
            #25

            @jsulm @SGaist
            I tried running the app without the sudo, and i got the same 'XKeyboard' error as below:
            e70b31cf-7aad-4cbc-b36c-ac85b1d65967-image.png

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

              It looks like a warning rather than an error per se.

              You might have to configure something on the X server side.

              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

              • Login

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