Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
6.2.2
-
None
Description
The constructor/setHandle raise a ValueError when passed an integer that contains the handle's value, even though the value error says it expects an integer
The code
import sys from PySide6 import QtCore print(sys.version_info) print(QtCore.QLibraryInfo.build()) notifier = QtCore.QWinEventNotifier(500)
produces the following error
sys.version_info(major=3, minor=9, micro=6, releaselevel='final', serial=0) Qt 6.2.2 (x86_64-little_endian-llp64 shared (dynamic) release build; by MSVC 2019) [limited API] Traceback (most recent call last): File "C:\Users\miso1\AppData\Roaming\JetBrains\PyCharm2021.3\scratches\scratch.py", line 8, in <module> notifier = QtCore.QWinEventNotifier(500) ValueError: 'PySide6.QtCore.QWinEventNotifier.__init__' called with wrong argument values: PySide6.QtCore.QWinEventNotifier.__init__(500,) Found signature: PySide6.QtCore.QWinEventNotifier.__init__(int, Optional[PySide6.QtCore.QObject] = None)
Attachments
Issue Links
- relates to
-
PYSIDE-1859 QImage::{from,to}{HBITMAP,HICON} and QRegion::{from,to}HRGN are unavailable in Python
- Closed
-
PYSIDE-1198 PySide2.QtX11Extras.QX11Info.display() missing?
- Closed