Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Compile error #78

Open
jianxinwen opened this issue Jan 10, 2021 · 3 comments
Open

Compile error #78

jianxinwen opened this issue Jan 10, 2021 · 3 comments

Comments

@jianxinwen
Copy link

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

@tishion
Copy link
Owner

tishion commented Jan 11, 2021

what's the cef version you are referring?

@chaome
Copy link
Contributor

chaome commented Jan 11, 2021

for cef87, you can follow this:

  1. 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.

  2. Remove all methods named: "OnRenderThreadCreated", "OnRenderProcessThreadCreated" and "OnRenderProcessThreadCreated"

@jianxinwen
Copy link
Author

for cef87, you can follow this:

  1. 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.
  2. Remove all methods named: "OnRenderThreadCreated", "OnRenderProcessThreadCreated" and "OnRenderProcessThreadCreated"

I'm working with CEF87 and Qt6,modification above solves the problem.
Thanks for your help.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants