如何将 webkit 集成到 C++ Windows 应用程序中

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5861963/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 16:46:41  来源:igfitidea点击:

How to integrate webkit into a C++ Windows application

c++windowswebkit

提问by justinhj

I've downloaded a nightly buildof webkit which includes a dll, pdb. There are no header files and I can't find documentation on the API and usage of the dll.

我已经下载了一个每晚构建的 webkit,其中包括一个 dll、pdb。没有头文件,我找不到有关 API 和 dll 用法的文档。

I'm looking for example code to integrate this into a C++ application, and how to start requests, render them to window or ideally a Direct X texture.

我正在寻找示例代码以将其集成到 C++ 应用程序中,以及如何启动请求、将它们渲染到窗口或理想情况下的 Direct X 纹理。

So far my searching is coming up short on the webkit website and the internet at large.

到目前为止,我在 webkit 网站和整个互联网上的搜索不足。

采纳答案by snoofkin

Why dont you use QWebKitfrom Qt? see this

你为什么不QWebKit从 Qt使用?看到这个

回答by Geoffrey Elliott

You might want to check out the Chromium Embedded Framework available here: http://code.google.com/p/chromiumembedded/

您可能想查看此处提供的 Chromium 嵌入式框架:http: //code.google.com/p/chromiumembedded/

I've used it extensively and found it to be functional, stable, and easy to use. It is smaller than QWebKit and has a more liberal license.

我已经广泛使用它,发现它功能强大、稳定且易于使用。它比 QWebKit 小,并且拥有更自由的许可证。