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

北城以北 提交于 2019-11-26 11:55:29

问题


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.


回答1:


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




回答2:


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.




回答3:


Embed WebKit In 3D Games

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



来源:https://stackoverflow.com/questions/1924255/how-to-embed-webkit-into-my-c-c-win32-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!