diff --git a/pyproject.toml b/pyproject.toml index ec76456..6744a9a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,9 +55,8 @@ gui = [ "pywebview>=6.2.1; platform_system == 'Windows'", "velopack>=1.2", "qtpy>=2.4.1; platform_system == 'Darwin'", - "PyQt5>=5.15.11; platform_system == 'Darwin'", - # pywebview[qt] no longer pulls this in; the macOS Qt backend needs it - "PyQtWebEngine>=5.15.7; platform_system == 'Darwin'", + # macOS Qt backend (bundled modern Chromium); PyQt6-WebEngine pulls PyQt6 + "PyQt6-WebEngine>=6.7.0; platform_system == 'Darwin'", "pythonnet>=3.1.0rc0; platform_system == 'Windows' and python_version >= '3.14'", "pyinstaller>=6.0", ] diff --git a/scripts/MediaHive.spec b/scripts/MediaHive.spec index 3088eeb..01bc923 100644 --- a/scripts/MediaHive.spec +++ b/scripts/MediaHive.spec @@ -88,11 +88,12 @@ if sys.platform == "darwin": # pywebview Qt backend selected dynamically via webview.start(gui="qt") "webview.platforms.qt", "qtpy", - "PyQt5", - "PyQt5.QtCore", - "PyQt5.QtGui", - "PyQt5.QtWidgets", - "PyQt5.QtWebEngineWidgets", + "PyQt6", + "PyQt6.QtCore", + "PyQt6.QtGui", + "PyQt6.QtWidgets", + "PyQt6.QtWebEngineCore", + "PyQt6.QtWebEngineWidgets", ] )