Details
Description
Connecting a slot to QRemoteObjectRegistry.remoteObjectAdded(const QRemoteObjectSourceLocation &entry) causes the following error:
TypeError: Can't call meta function because I have no idea how to handle QRemoteObjectSourceLocation
This is my code:
self.m_Host = QRemoteObjectHost(QUrl('local:server'), QUrl('local:registry'), QRemoteObjectHost.BuiltInSchemasOnly, self) self.m_Host.registry().remoteObjectAdded.connect(self.onRemoteObjectAdded) @Slot(tuple) def onRemoteObjectAdded(self, loc : Tuple[str, PySide6.QtRemoteObjects.QRemoteObjectSourceLocationInfo]): print("onRemoteObjectAdded") return
In C++ there is not problem connecting to the signal
Attachments
For Gerrit Dashboard: PYSIDE-2633 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
547192,4 | libpyside: Improve type conversion error messages of metafunction invocation | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
547458,2 | shiboken6: Refactor writing out converter names registration | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
547459,6 | shiboken6: Register typedefs of container types | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
547498,3 | libpyside: Improve type conversion error messages of metafunction invocation | 6.6 | pyside/pyside-setup | Status: MERGED | +2 | 0 |