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);
Attachments
For Gerrit Dashboard: PYSIDE-2110 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
441957,2 | PyEnum: Update list of IntEnum to keep compatibility in 6.4, completion | 6.4 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
441975,2 | PyEnum: Update list of IntEnum to keep compatibility in 6.4, completion | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
441998,2 | PyEnum: Update list of IntEnum to keep compatibility in 6.4, completion | 6.3 | pyside/pyside-setup | Status: MERGED | +2 | 0 |