Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-2331

Update to PyQt 6

XMLWordPrintable

      With Qt 6.2 everything is supported that we need to port Picard. Updating to Qt6 also is a requirement for Apple Silicon support.

      The actual API changes in Qt6 itself aren't that numerous

      • The media player API changed
      • Network accessibility API has been removed, which mean we can remove our workaround for that (but we consider re-implementing the webservice module with Python libraries)
      • PyQt6 now uses proper Python enums (already handled in PICARD-2332)
      • pyrcc is not available for PyQt6, resources should be loaded from files

      Things to consider:

      See also:

      https://doc-snapshots.qt.io/qt6-6.2/qt-intro.html

      https://www.riverbankcomputing.com/static/Docs/PyQt6/pyqt5_differences.html

      https://stackoverflow.com/questions/66099225/how-can-resources-be-provided-in-pyqt6-which-has-no-pyrcc

       

            outsidecontext Philipp Wolfer
            outsidecontext Philipp Wolfer
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                Version Package
                3.0