Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.4.0
-
None
-
0cb568acc65e31a050db9121ba9d9e908d5a8855 54e93ec6a2 (pyside/pyside-setup/6.3) ae6c470f17 (pyside/pyside-setup/6.4) 54e93ec6a2 (pyside/tqtc-pyside-setup/6.3) ae6c470f17 (pyside/tqtc-pyside-setup/6.4) ae6c470f17 (pyside/tqtc-pyside-setup/tqtc/6.4)
Description
This line works in PyQt6,
QWebEngineScript.setWorldId(QWebEngineScript.ScriptWorldId.MainWorld)
but throws in PySide6:
TypeError: 'PySide6.QtWebEngineCore.QWebEngineScript.setWorldId' called with wrong argument types: PySide6.QtWebEngineCore.QWebEngineScript.setWorldId(ScriptWorldId) Supported signatures: PySide6.QtWebEngineCore.QWebEngineScript.setWorldId(int)
class QWebEngineScript quint32 worldId() const; void setWorldId(quint32);