38

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.

Pavel Vlasov
  • 4,206
  • 6
  • 41
  • 54

3 Answers3

27

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

Phil Booth
  • 4,853
  • 1
  • 33
  • 35
  • I would notice also, this way although acceptable requires some significant effort from developer (unlike Qt widget embedding) and is not a from-A-to-Z embedding guide. It would be nice if there is an easier solution. – Pavel Vlasov Dec 18 '09 at 02:51
  • Easier solutions, by default, do not exist. Someone must make them. – i_am_jorf Sep 05 '11 at 18:38
  • Still no easier way than this?? – will Sep 30 '16 at 08:52
3

WebKit for Windows are still use VS 2005. So, if you use VS2010 or 2012, you need to build WebKit on this VS from source, because different vc*.dll runtime redistributable versions.

For example, you can use Brent Fulgham's test project and advices to build WebKit on new VS from this blog to test your build.

Andrei M.
  • 41
  • 5
2

Embed WebKit In 3D Games

https://sourceforge.net/projects/wke/

blzfans
  • 21
  • 2