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

Basic QML QtQuick Controls broken since 6.6.3 release on PyPi

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.6.3
    • PySide
    • None
    • All

      Since the 6.6.3 PySide6-Essentials package which is released on PyPi repositories, QML QtQuick controls no longer work.

      Attached is a minimal example (.py file + .qml file). If run with the PySide6-Essentials 6.6.2 package from PyPi, it works. For 6.6.3, it yields:

      QQmlApplicationEngine failed to load component
      file:///home/sander/dev/pyside6-bugreport/main.qml:2:1: module "QtQuick.Controls" version 6.6 cannot be imported because:
      Cannot load library /home/sander/dev/pyside6-bugreport/venv/lib/python3.11/site-packages/PySide6/Qt/qml/QtQuick/Controls/Fusion/libqtquickcontrols2fusionstyleplugin.so: (libQt6QuickControls2Fusion.so.6: cannot open shared object file: No such file or directory) 

      The above message is on Linux, but similar errors happen on Windows, MacOS.

      For now, I am pinning my project to 6.6.2. Thanks for having a look!

        1. main.qml
          0.2 kB
          Sander Vocke
        2. pyside6_bugreport.py
          0.2 kB
          Sander Vocke
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            crmaurei Cristian Maureira-Fredes
            narcoticv Sander Vocke
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes