This repository was originally cloned from tishion/QCefView.
Since tishion/QCefView don't support OSR (offscreen rendering), so I create a repository with the same name to implement these features.
tishion/QCefView and winsoft666/QCefView are vastly different in code structure.
Known Issues:
- CefRenderHandler::GetViewRect will be called frequently when resize browser window, and browser content can't resize correctly.
Build instruction:
-
Download and install CMake
-
Download and install Qt SDK from Qt Downloads
-
Download CEF binary distribution Chromium Embedded Framework (CEF) Automated Builds and extract it to dep directory, for example:
root ├─dep │ └─cef_binary_76.1.13+gf19c584+chromium-76.0.3809.132_windows64 ├─src └─test -
Modify the config.cmake to set the required build configurations
-
Just use CMake to build the project, for example:
REM create the build folder mkdir build.win && cd build.win REM generate and build the project cmake .. && cmake --build .