简体   繁体   English

在C ++应用程序中嵌入WebKit

[英]Embedding WebKit in C++ Application

I'm writing a game in C++ using the SDL framework, and want to create my game's GUI using HTML/CSS. 我正在使用SDL框架以C ++编写游戏,并希望使用HTML / CSS创建游戏的GUI。 I've looked into frameworks such as Awesomium , however I'm turned off by the fact that it's not open source. 我已经研究了Awesomium之类的框架,但是由于它不是开源的事实而被我拒之门外。 I want to create my own implementation of a similar idea. 我想创建自己的类似想法的实现。

However, I can find almost no documentation on actually using WebKit in this manner. 但是,我几乎找不到关于以这种方式实际使用WebKit的文档。 The closest I can find is this Apple Developer guide to using WebKit but it's targeted at MacOS-specific applications written in Objective-C. 我能找到的最接近的Apple开发人员指南是有关使用WebKit的,但它针对的是用Objective-C编写的MacOS专用应用程序。 It makes mention of a "Webkit C Reference" toward the bottom of the page, but I cannot find this actual document anywhere. 它在页面底部提到了“ Webkit C参考”,但是我在任何地方都找不到这个实际文档。 Additionally, I've read the resources on the WebKit Wiki as well as prior StackOverflow questions on the same topic, but I haven't been able to find anything in the way of direct, clear documentation on embedding WebKit in a C++ program. 此外,我已经阅读了WebKit Wiki上的资源以及关于同一主题的先前 StackOverflow问题,但是我无法找到直接,清晰的文档来将WebKit嵌入C ++程序中。

Does this documentation exist somewhere? 该文档是否存在于某处? What is the best resource for documentation on embedding WebKit within a C++ application? 在C ++应用程序中嵌入WebKit的文档的最佳资源是什么?

I'm not really sure about this, but when I read about "c++" and "html/css". 我对此不太确定,但是当我读到“ c ++”和“ html / css”时。 QT comes to my mind. 我想到了QT。 Maybe you want to check it out. 也许您想检查一下。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM