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

Qt creator fails to start on debian bookworm

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 12.0.0-beta2
    • All Other Issues
    • None
    • Debian bookworm (12.2)
    • Linux/X11
    • a6a95420b (12.0)

      Qt creator 12.0.0-beta2, installed from the installer, fails to start on a standard debian bookworm system.

      The error message is:

      Warning: Ignoring WAYLAND_DISPLAY on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
      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, vkkhrdisplay, vnc, wayland-egl, wayland, xcb.fish: Job 1, './qtcreator' terminated by signal SIGABRT (Abandon)

      Running it through wayland indeed makes it works.

      The culprit seems to be:

      ldd "${HOME}/Qt/Tools/Qt Creator 12.0.0-beta2/lib/Qt/plugins/platforms/libqxcb.so"
      <snip>
      libxcb-cursor.so.0 => not found

      Installing libxcb-cursor0 fixes the problem. But it is not part of a standard debian bookworm installation. This is a regression over previous qt creator version, which did not have this requirement.

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

            con Eike Ziller
            julienblanc-sprinte Julien Blanc
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes