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

Fix macOS builds with PyQt > 5.13.2

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 2.4.4
    • Fix Version/s: 2.6.0b1
    • Component/s: Packaging & Deployment
    • Labels:
      None
    • Environment:
      macOS

      Description

      As discussed in PICARD-1858 builds with any PyQt version >= 5.13.2 (with the latest version tested being current 5.15.1) do not run on macOS 11 Big Sur.

      On macOS Big Sur the application stops responding after start without showing the UI. Actually even a very minimalistic Qt5 app with only an empty window will stop responding as soon as the app's mainloop gets executed. The exact reason is unknown, but it happens with PyQt >= 5.13.2 (tested up to 5.15.1).

      This actually only happens when running from the packaged app. Running from Picard from source works fine. For now I can't say whether the core problem lies within PyQt5 or PyInstaller.

      For the future we should be able to upgrade to make use of improvements and bugfixes in Qt5. I expect that there will be some macOS 11 specific improvements, e.g. there are open issues about theming improvements QTBUG-86513 and support for arm64 QTBUG-85279.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              outsidecontext Philipp Wolfer
              Reporter:
              outsidecontext Philipp Wolfer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Packages

                  Version Package
                  2.6.0b1