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

Show a message box if Qt Creator can't start due to missing dependencies of libxcb.so

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • Qt Creator 12.0.1
    • Qt Creator 12.0.0
    • All Other Issues
    • None
    • Linux/X11
    • a6a95420b (12.0)

    Description

      With Qt Creator 12 we released binaries for Linux using Qt 6.6.0 which has added a new dependency to libxcb-cursor. See https://bugreports.qt.io/browse/QTBUG-108796

      libxcb-cursor is not present on Linux installations by default, and when upgrading to the newer Qt Creator version, the users will have a Qt Creator that does not start.

      The error message in Terminal is not useful. See https://forum.qt.io/topic/152528/qtcreator-upgrade-breaks-qtcreator

      Qt Creator could do they analysis itself on lib/Qt/plugins/platforms/libqxcb.so and present a graphical messagebox with the information, so the user will know what to do.

      See How to show a GUI message box from a bash script in linux? - Stack Overflow for details how to show a message box from a "console" application.

      For reading the shared libraries dependencies we have linux - How can I find the dynamic libraries required by an ELF Binary in C++? - Stack Overflow

      Since we do use the elfutils library we already have the bits needed to do the analysis.  

      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
              cadam Cristian Adam
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes