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. Could not load the Qt platform plugin "xcb
Servers for Qt installer are currently down

Could not load the Qt platform plugin "xcb

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 4 Posters 12.3k 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.
  • J Offline
    J Offline
    JacobNovitsky
    wrote on 17 Sept 2023, 10:37 last edited by
    #1

    if calling system("~/Qt/Tools/QtCreator/bin/qtcreator /home/supernova/Desktop/MPU/MPU.pro &");

    getting output below:

    Warning: Ignoring WAYLAND_DISPLAY on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
    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: minimalegl, offscreen, wayland-egl, linuxfb, minimal, vkkhrdisplay, wayland, xcb, vnc, eglfs.

    S 1 Reply Last reply 17 Sept 2023, 11:42
    0
    • J JacobNovitsky
      17 Sept 2023, 10:37

      if calling system("~/Qt/Tools/QtCreator/bin/qtcreator /home/supernova/Desktop/MPU/MPU.pro &");

      getting output below:

      Warning: Ignoring WAYLAND_DISPLAY on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
      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: minimalegl, offscreen, wayland-egl, linuxfb, minimal, vkkhrdisplay, wayland, xcb, vnc, eglfs.

      S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 17 Sept 2023, 11:42 last edited by
      #2

      Hi,

      Are you running your Desktop Environment on Wayland as the error message suggests ? If so, do as suggested and use the wayland QPA.

      If not, start your application with the QT_DEBUG_PLUGINS environment variable set to 1 to see exactly why the xcb loading fails.

      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
      • S Offline
        S Offline
        Stecco
        wrote on 19 Sept 2023, 11:33 last edited by
        #3

        try:

        sudo apt-get install -qq libglu1-mesa-dev libx11-xcb-dev '^libxcb*'

        L 1 Reply Last reply 25 Oct 2023, 17:32
        2
        • S Stecco
          19 Sept 2023, 11:33

          try:

          sudo apt-get install -qq libglu1-mesa-dev libx11-xcb-dev '^libxcb*'

          L Offline
          L Offline
          Luciano Moffatt
          wrote on 25 Oct 2023, 17:32 last edited by
          #4

          @Stecco Thanks stecco, I was unable to run the latest versions of qtcreator and after running your suggestion (sudo apt-get install -qq libglu1-mesa-dev libx11-xcb-dev '^libxcb*') everything got solved.

          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