Qt 6.11 is out! See what's new in the release
blog
PySide6.QtQml.qmlRegisterType signature error in QtQml.pyi
-
qmlRegisterType signature:
PySide6.QtQml.qmlRegisterType(type, bytes, int, int, bytes)But when I call method :
qmlRegisterType(TestSet, b"Test", 1, 0, b"TestSet")I get error:
qmlRegisterType(TestSet, b"Test", 1, 0, b"TestSet") ValueError: 'PySide6.QtQml.qmlRegisterType' called with wrong argument values: PySide6.QtQml.qmlRegisterType(<class 'testtool.testset.TestSet'>, b'Test', 1, 0, b'TestSet') Found signature: PySide6.QtQml.qmlRegisterType(type, bytes, int, int, bytes) -
-