Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-24962

QtCreator: qt.qpa.plugin: Could not load the Qt platform plugin "xcb". libxcb-util.so.1 - no such file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 4.13.3
    • All Other Issues
    • None
    • Linux/X11

    Description

      Hi,

      I'm running Debian buster.

      After just upgrading QtCreator (from qt.io), QtCreator no longer runs.

       

      The error is:

      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, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.Aborted
       

       

      Setting environment variable...

      export QT_DEBUG_PLUGINS=1 

      ...I get more error information:

      ...
      Got keys from plugin meta data ("xcb")
      QFactoryLoader::QFactoryLoader() checking directory path "/home/dude/Qt/Tools/QtCreator/bin/platforms" ...
      Cannot load library /home/dude/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so: (libxcb-util.so.1: cannot open shared object file: No such file or directory)
      QLibraryPrivate::loadPlugin failed on "/home/dude/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so" : "Cannot load library /home/dude/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so: (libxcb-util.so.1: cannot open shared object file: No such file or directory)"
      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, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.Aborted 

      Hmm... libxcb-util.so.1 is not available on Debian buster, as I can verify like this:

      # sudo apt-file find libxcb-util.so
      # shows:
      
      libxcb-util0: /usr/lib/x86_64-linux-gnu/libxcb-util.so.0
      libxcb-util0: /usr/lib/x86_64-linux-gnu/libxcb-util.so.0.0.0
      libxcb-util0-dev: /usr/lib/x86_64-linux-gnu/libxcb-util.so

       

      Anything you (or I) can do about this?

       

      Also some general questions:

      • Which distro do you guys at qt.io use?
      • On which distro is the release from qt.io (for 64 bit linux) being built?
      • (PS: Any public links to your CI tool, available?)

       

      Thanks.

       

       

       

      Attachments

        Issue Links

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

          Activity

            People

              con Eike Ziller
              an A. N.
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes