macOS: PyQt6-WebEngine backend (modern Chromium ~122, variant A)
PyQt5's QtWebEngine is Chromium 87, too old for aspect-ratio and other modern CSS. Qt6 WebEngine tracks current Chromium.
This commit is contained in:
+2
-3
@@ -55,9 +55,8 @@ gui = [
|
|||||||
"pywebview>=6.2.1; platform_system == 'Windows'",
|
"pywebview>=6.2.1; platform_system == 'Windows'",
|
||||||
"velopack>=1.2",
|
"velopack>=1.2",
|
||||||
"qtpy>=2.4.1; platform_system == 'Darwin'",
|
"qtpy>=2.4.1; platform_system == 'Darwin'",
|
||||||
"PyQt5>=5.15.11; platform_system == 'Darwin'",
|
# macOS Qt backend (bundled modern Chromium); PyQt6-WebEngine pulls PyQt6
|
||||||
# pywebview[qt] no longer pulls this in; the macOS Qt backend needs it
|
"PyQt6-WebEngine>=6.7.0; platform_system == 'Darwin'",
|
||||||
"PyQtWebEngine>=5.15.7; platform_system == 'Darwin'",
|
|
||||||
"pythonnet>=3.1.0rc0; platform_system == 'Windows' and python_version >= '3.14'",
|
"pythonnet>=3.1.0rc0; platform_system == 'Windows' and python_version >= '3.14'",
|
||||||
"pyinstaller>=6.0",
|
"pyinstaller>=6.0",
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -88,11 +88,12 @@ if sys.platform == "darwin":
|
|||||||
# pywebview Qt backend selected dynamically via webview.start(gui="qt")
|
# pywebview Qt backend selected dynamically via webview.start(gui="qt")
|
||||||
"webview.platforms.qt",
|
"webview.platforms.qt",
|
||||||
"qtpy",
|
"qtpy",
|
||||||
"PyQt5",
|
"PyQt6",
|
||||||
"PyQt5.QtCore",
|
"PyQt6.QtCore",
|
||||||
"PyQt5.QtGui",
|
"PyQt6.QtGui",
|
||||||
"PyQt5.QtWidgets",
|
"PyQt6.QtWidgets",
|
||||||
"PyQt5.QtWebEngineWidgets",
|
"PyQt6.QtWebEngineCore",
|
||||||
|
"PyQt6.QtWebEngineWidgets",
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user