Giter VIP home page Giter VIP logo

cefmingwqt's Introduction

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.

cefmingwqt's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cefmingwqt's Issues

can't build by qt's qmake

I build out libcef_dll_wrapper.a by your cmake, then i change the cefqtclient to qt's project, and add LIBS += -lcef_dll_wrapper -lcef, but error when build, do you know why? only can build by cmake? thanks!

my qt application crash

Hi @GreatTux
follow your guard,I use cmake and mingw build this cef and cefclient,but when I run this cefclient.exe
It can be showed normal but when i refresh url ,the application crash.

Qt 5.4.2 Mingw Craxh app

bonjour j'ai compilé la solution avec QT Win 5.4.2 et cmake 3.3.0. j'ai pris la version CEF 3.2272.32
la compilation passe sans problème.

par contre, à l'exectuion, j'ai un crash dans l'appel de CEF_REQUIRE_UI_THREAD dans la function ci-dessous.

CefRefPtr ClientHandler::GetBrowser() const
{
CEF_REQUIRE_UI_THREAD();

return m_browser;

}

Je ne trouve pas la source de ce problème. avez vous une idée de crash ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.