How to embed WebKit into my C/C++/Win32 application?

Pavel Vlasov picture Pavel Vlasov · Dec 17, 2009 · Viewed 32.9k times · Source

The solutions I have found are irrelevant:

  • someone used WebKit in a Delphi project
  • someone used it with Java
  • there is QtWebKit (about:blank demo app takes 44 megs)
  • .Net port of it
  • GTK+ port

I need a guide how to embed WebKit instance into a pure C/C++ application under Win32.

Answer

Phil Booth picture Phil Booth · Dec 17, 2009

Brent Fulgham has put lots of work into producing a Windows Cairo port of WebKit, which doesn't rely on Apple's proprietary backend stuff (e.g. CoreGraphics, CoreFoundation, CFNetwork). I believe that is what you are after. The details aren't entirely collated in one place, but there is some information in the Trac wiki and other bits are dotted around on Brent's blog.

EDIT: Link to Brent's project on sourceforge

EDIT 2: News of some interesting progress from Brent's blog