QCefView
QCefView copied to clipboard
Compile error
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
what's the cef version you are referring?
for cef87, you can follow this:
-
Move this line to method QCefViewRenderApp::OnWebKitInitialized(), CreateRenderDelegates(render_delegates_, bridge_object_name_); 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(render_delegates_, bridge_object_name_); 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.