-
Notifications
You must be signed in to change notification settings - Fork 106
Closed
Description
OS:Windows11 24H2
Python Version:3.13
Qt Version: 6.8
PythonQt Version: 3.6
Compiler: msvc
This is the infomation printed in PyScriptingConsole
py> from PythonQt import *
py> QtCore.QObject
Traceback (most recent call last):
File "<string>", line 1, in <module>
AttributeError: module 'PythonQt.QtCore' has no attribute 'QObject'
py>
And I check the source code in com_trolltech_qt_core_init.cpp
The register code for QObject exist actually
PythonQt::priv()->registerClass(&QObject::staticMetaObject, "QtCore", PythonQtCreateObject<PythonQtWrapper_QObject>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QObject>, module, 0);But QObject is still disappeared in python.
Thanks for any help.
Metadata
Metadata
Assignees
Labels
No labels
