Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-112185

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • 6.5.0 RC
    • QPA: X11/XCB
    • None
    • GNU/Linux openSUSE Tumbleweed, Ryzen 2700X
    • Linux/X11

    Description

      My application won't start:

      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: eglfs, wayland-egl, vkkhrdisplay, xcb, offscreen, vnc, minimalegl, linuxfb, minimal, wayland.

      Aborted (core dumped)

      As an example: I just tried with ~Qt/Examples/Qt-6.5.0/widgets/mainwindows/mainwindow and I replicated the problem.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              liaqi Liang Qi
              liviulalescu Liviu Lalescu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes