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

Qt SDK ship broken xcb qpa on linux

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 5.12.7
    • 5.6, 5.7
    • QPA: X11/XCB
    • None
    • Linux 64bits, (ubuntu 15.10)

    Description

      I setup some Qt SDK pre compiled Qt versions on a headless remote server (from 5.4 to 5.8).
      When I run my GUI tests (using xvfb) on my CI, Qt 5.6 and 5.7 crash with the following message:

      This application failed to start because it could not find or load the Qt platform plugin "xcb"
      in "".

      Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, xcb.

      Reinstalling the application may fix this problem.
      Aborted (core dumped)

      The error also appear when trying to starts qdbusviewer from a forwarded x11 server (ssh -X).

      After investigations using ldd tool it appear that those versions have their xcb qpa plugin linking libEGL.so.1, missing on my headless system.
      All other versions, including Qt 5.8 do not link libEGL.so.1.

      libEGL.so.1 => not found

      Attachments

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

        Activity

          People

            filipe.azevedo Filipe Azevedo
            filipe.azevedo Filipe Azevedo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes