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