dnybz / QCefView

A QWidget encapsulating the CEF named QCefView

Home Page:https://tishion.github.io/QCefView

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quick Start with Qt+Cef https://tishion.github.io/QCefView

This is the fresh new reforming version of QCefView, if you need to use the legacy one please checkout the legacy-archive branch.

Build instruction:

  1. Download and install CMake

  2. Download and install Qt SDK from Qt Downloads

  3. 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
    
  4. Modify the config.cmake to set the required build configurations

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

Note: When I start the reforming I use Qt 5.12.4 and CEF cef_binary_76.1.13+gf19c584+chromium-76.0.3809.132_windows64. You need to make sure the version you are choosing is compatible with the code in this repo.

About

A QWidget encapsulating the CEF named QCefView

https://tishion.github.io/QCefView

License:GNU Lesser General Public License v3.0


Languages

Language:C++ 89.9%Language:CMake 6.6%Language:HTML 2.0%Language:C 1.6%