[PyQt] Can't connect to QWebEnginePage::renderProcessTerminated

Florian Bruhin me at the-compiler.org
Thu Feb 9 21:26:35 GMT 2017


* Phil Thompson <phil at riverbankcomputing.com> [2017-02-06 17:12:52 +0000]:
> On 6 Feb 2017, at 4:50 pm, Florian Bruhin <me at the-compiler.org> wrote:
> > 
> > Hi,
> > 
> > I tried various ways of connecting to
> > QWebEnginePage.renderProcessTerminated (see the attached file), but
> > they all fail with:
> > 
> > 	QObject::connect: No such signal QWebEnginePage::renderProcessTerminated(QWebEnginePage::RenderProcessTerminationStatus,int)
> > 	Traceback (most recent call last):
> > 	  File "render.py", line 23, in <module>
> > 		page.renderProcessTerminated.connect(obj.slot1)
> > 	TypeError: connect() failed between renderProcessTerminated(QWebEnginePage::RenderProcessTerminationStatus,int) and unislot()
> 
> I reported this as a Qt bug nearly a year ago. I'll chase it up.
> Otherwise I might build in a workaround for future releases.

I'm guessing it's this? https://codereview.qt-project.org/#/c/185148/

Looks like the fix was abandoned because it's backwards-incompatible
though.

At least connecting to the view's signal works, but I think it'd be
good if PyQt had a workaround for this if Qt can't fix it.

Florian

-- 
http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170209/cabd94dc/attachment.sig>


More information about the PyQt mailing list