[PyQt] implement a custom QWebEngineUrlSchemeHandler

Detlev Offenbach detlev at die-offenbachs.de
Wed Dec 19 09:56:18 GMT 2018


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




More information about the PyQt mailing list