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

Incompatible minimum macOS version

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.6.0, 6.5.3
    • 6.5.2
    • PySide
    • None
    • macOS
    • 0d500d003 (dev), 42df0090f (6.5)

    Description

      The PySide6 wheels for macOS list "macosx_10_9" as the minimum version but they are not compatible with this version of macOS.

      When importing on macOS 10.13.6 I get the following error importing a symbol that was added in 10.14

      ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/PySide6/QtCore.abi3.so, 2): Symbol not found: _NSAppearanceNameDarkAqua
        Referenced from: /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/PySide6/Qt/lib/QtCore.framework/Versions/A/QtCore (which was built for Mac OS X 11.0)
        Expected in: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 

      From that error message the Qt6 library was built for macOS 11.0 which this page of your website says is the minimum supported version.

      https://doc.qt.io/qt-6/macos.html

      I assume someone forgot to bump the minimum macOS version for PySide6 at some point.

      Attachments

        For Gerrit Dashboard: PYSIDE-2429
        # Subject Branch Project Status CR V

        Activity

          People

            shpremna Shyamnath Premnadh
            gentlegiantjgc J C
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes