Skip to content

Provide a Qt widget to render and interact with webpage. Based on CEF. Written by C++.

License

Notifications You must be signed in to change notification settings

jonike/QCefWidget-SDK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

>>> 中文版

QCefWidget

The QCefWidget project provide a widget that used to view webpage, and can interact deeply with web.

Support:

✅ Easy to use, can be integrated into your project with a few lines code;

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

✅ Automatically adapt to system's DPI change.

Quick start

Use QCefWidget as a normal QWidget:

QCefWidget pCefWidget = new QCefWidget();
pCefWidget->navigateToUrl("https://www.google.com");

For more property settings, see QCefWidget.h.

Demo

There is a demo project about QCefWidget in Demo directory.

Using RunDemo.bat to start it.


Screenshot

screenshot1 on windows

screenshot2 on windows


Email: winsoft666#outlook.com

About

Provide a Qt widget to render and interact with webpage. Based on CEF. Written by C++.

Resources

License

Stars

Watchers

Forks

Packages

No packages published