Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 412 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 412 Bytes

QWebChannel

1、和Js互相调用

运行 CallEachWithJs.py

通过qwebchannel.jsQWebChannel.registerObject通过中间件WebSocket进行对象和Javascript的交互(类似于json rpc) 该方法类似与QWebEngineView中的例子,同时该demo也适用与nodejs。

CallEachWithJs