Open jianxinwen opened 3 years ago
what's the cef version you are referring?
for cef87, you can follow this:
Move this line to method QCefViewRenderApp::OnWebKitInitialized(), CreateRenderDelegates(renderdelegates, bridge_objectname); As we should do this in method OnWebKitInitialized() when use latest CEF.
Remove all methods named: "OnRenderThreadCreated", "OnRenderProcessThreadCreated" and "OnRenderProcessThreadCreated"
for cef87, you can follow this:
- Move this line to method QCefViewRenderApp::OnWebKitInitialized(), CreateRenderDelegates(renderdelegates, bridge_objectname); As we should do this in method OnWebKitInitialized() when use latest CEF.
- Remove all methods named: "OnRenderThreadCreated", "OnRenderProcessThreadCreated" and "OnRenderProcessThreadCreated"
I'm working with CEF87 and Qt6,modification above solves the problem. Thanks for your help.
vs2019 gives below error 'QCefViewBrowserApp::OnRenderProcessThreadCreated': method with override specifier 'override' did not override any base class methods QCefView *\src\QCefView\CefViewBrowserApp\QCefViewBrowserApp.h 68