Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-1473

5.15.2 is incompatible to current debian stable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.15.2
    • PySide
    • None
    • Linux/X11

    Description

      This is related to https://bugreports.qt.io/browse/QTBUG-88688

      It means that this version can not be used on debian buster (current stable distro):

      $ python venv/lib64/python3.7/site-packages/PySide2/examples/widgets/widgets/tetrix.py
      
      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, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
      
      Aborted
      

      Placing a link as suggested in the above mentioned ticket is a workaround, but obviously this is not a real solution if the user is required to make that link.

      ln -sf /usr/lib/x86_64-linux-gnu/libxcb-util.so venv/lib64/python3.7/site-packages/PySide2/Qt/lib/libxcb-util.so.1
      

      It is very unfortunate that the last public 5.15.x version shows this problem.

      Attachments

        Issue Links

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

          Activity

            People

              crmaurei Cristian Maureira-Fredes
              bdev a dev
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes