<div dir="ltr"><div class="gmail_quote"><div dir="ltr">The following code:<br></div><div dir="ltr"><br><font face="monospace, monospace">Ax = QAxObject('XTAPI.TTInstrNotify<wbr>')<br>Ax.OnNotifyFound.connect(self.<wbr>OnNotifyFound)<br></font><br>breaks with the message:<br><br><font face="monospace, monospace">TypeError: C++ type 'IDispatch*' is not supported as a signal argument type<br></font><br>because Ax.generateDocumentation() says:<br><br><font face="monospace, monospace">void OnNotifyFound (IDispatch* pNotify, IDispatch* pInstr) [signal]<br>Connect a slot to this signal:<br>QObject::connect(object, SIGNAL(OnNotifyFound(IDispatch<wbr>*, IDispatch*)), receiver, SLOT(someSlot(IDispatch*, IDispatch*)));<br></font><span><br></span><div><span>Is there any way to connect this signal to a Python method using the new style? (This works with win32com, but I'd much rather use PyQt5!)</span></div><div><span><br></span></div><div><span>Thanks,</span></div><div><span>Neville</span></div></div>
</div><br></div>