Skip to content

GitCoder666/QCefWidget

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

>>> 中文版

The QCefWidget project provide a widget that is used to view webpage.

Support:

✅ Supports both CEF OSR and non-OSR mode;

✅ Show background transparent webpage in irregularity window;

✅ Javascript and Qt interaction;

✅ OpenGL graphics acceleration;

✅ Third-party input method software;

✅ Perfect exit app without any CEF assert/exception in debug/release mode;

✅ Separate CEF rendering process and plugin process;

✅ Support Adobe Flash without any warnning, eg "Control-click to run Adobe Flash Player".

✅ Drag/Drop frameless window like Electron throught setting CSS property.


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_80.1.15+g7b802c9+chromium-80.0.3987.163_windows32
    ├─src
    └─test
    
  4. Update the config.cmake to set the required build configurations

  5. Using CMake to build the project, for example:

    mkdir build && cd build
    cmake .. && cmake --build .

Usage

QCefWidgetTest is a perfect demo about how to use QCefWidget in test folder.

screenshot1 on windows

screenshot2 on windows

About

Provide a Qt widget to render and interact with webpage.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 80.4%
  • HTML 12.8%
  • CMake 2.9%
  • CSS 2.2%
  • C 0.9%
  • JavaScript 0.5%
  • Batchfile 0.3%