Skip to content

Simple example project to show how to embed CEF as part of a Qt/MinGW application.

License

Notifications You must be signed in to change notification settings

GreatTux/CefMinGWQt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CEF MinGW Qt

A very simple web client built using in Chromium Embedded Framework & Qt with MinGW. The Cef events are processed by the Qt Application object. Sub-processes are spawned using a separate executable.

About

The project was sucessfully compiled and tested using the following components :

  • Qt 5.3.1 for Win32 (MinGW)
  • MinGW (4.8.2 Dwarf)
  • CEF 3.2272.2077 Win32
  • CMake 3.1.0

Building

Debug/
Release/
Resources/

Do not replace include and libcef_dll directories, they have been patched by myself to allow the compilation with MinGW (see "MinGW Compilation" section).

  • Create a build directory
  • Run cmake from your build directory pointing to the repository root CMakeLists.txt, ie cmake -G"MinGW Makefiles" ..
  • Run mingw32-make.exe install on the generated Makefile

Project

  • cefqtclient
    • main browser process and ui
  • cefsubprocess
    • separate sub-process executable
  • libcef_dll
    • cef3's c++ wrapper

MinGW Compilation

See CEF.diff at the root for more informations about the modifications that have been done.

Thanks to

The guys from the Cef forum for their direct/indirect help.

The main CMakeLists.txt was widely built based on the Cef SimpleClient example.

Navigation icons picked from "Iconic" pack (http://somerandomdude.com/work/iconic/), under CC License.

About

Simple example project to show how to embed CEF as part of a Qt/MinGW application.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published