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

failure to launch when libxcb-xinema0 not installed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Duplicate
    • Affects Version/s: Qt Creator 4.13.1
    • Fix Version/s: None
    • Component/s: All Other Issues
    • Labels:
      None
    • Platform/s:
      Linux/X11

      Description

      kevin@ubuntu:~/Qt/Tools/QtCreator/bin
      $ ./qtcreator
      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 (core dumped) 

      Relevant output when launching with QT_DEBUG_PLUGINS=1:

      Got keys from plugin meta data ("xcb")
      QFactoryLoader::QFactoryLoader() checking directory path "/home/kevin/Qt/Tools/QtCreator/bin/platforms" ...
      Cannot load library /home/kevin/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: cannot open shared object file: No such file or directory)
      QLibraryPrivate::loadPlugin failed on "/home/kevin/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so" : "Cannot load library /home/kevin/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: 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. 

      Not sure if there was something that should've prompted me to install the missing libxcb library here, but it seems like (for the average user) figuring out why Qt Creator is failing to launch would be challenging.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              con Eike Ziller
              Reporter:
              kevinushey Kevin Ushey
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes