[PyQt] implement a custom QWebEngineUrlSchemeHandler

Zhao Lee redstone-cold at 163.com
Wed Dec 19 12:57:27 GMT 2018

Yes, assign it a parent solved the problem .
Thanks very much !

在2018年12月19 17时56分, "Detlev Offenbach"<detlev at die-offenbachs.de>写道:

Try to instantiate your scheme handler first and keep it in a variable.
Otherwise it might get collected by the Python garbage collector. See the eric
web browser as an example.

Am Mittwoch, 19. Dezember 2018, 09:38:58 CET schrieb Zhao Lee:
> I want to implement a custom QWebEngineUrlSchemeHandler to hand  custom URL
> scheme 'sound', but the requestStarted() never got called , what's wrong ?
> code: https://bpaste.net/show/3be4b1874aed

Detlev Offenbach
detlev at die-offenbachs.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20181219/7bd290c8/attachment.html>

More information about the PyQt mailing list