[webkit-dev] embedding WebKit in MFC application

Brent Fulgham bfulgham at gmail.com
Tue Apr 14 09:48:47 PDT 2009


Hi Martin,

On Tue, Apr 14, 2009 at 8:35 AM, Martin Račko <rackom7 at gmail.com> wrote:
> I would like to create an MFC (Win32 API alternatively) application with
> WebKit embedded.

I'm afraid you are not going to be able to do so using the stock
WebKit project.  Apple does not provide a license option for their
CoreGraphics, CoreFoundation, and CFNetwork libraries, which are
needed to build and run WebKit on Windows.

Because of this, I worked to revive the original Apple Cairo version
of WebKit.  These changes are nearly all in the main tree (I have to
finish a few small changes), and are being successfully used by
several people (including the Appcelerator team).

Depending on what you want to do, you might consider just using the
Appcelerator package, as building WebKit and integrating it in an MFC
application is not well documented.

I created a sample MFC application based on one of the Apple example
programs a month or so ago, and posted a link to it on my blog
(http://lwat.blogspot.com).  I don't have a direct link handy --
sorry!

Good luck,

-Brent


More information about the webkit-dev mailing list