在C ++应用程序中嵌入WebKit [英] Embedding WebKit in C++ Application

查看:111
本文介绍了在C ++应用程序中嵌入WebKit的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用SDL框架以C ++编写游戏,并希望使用HTML/CSS创建游戏的GUI.我已经研究过诸如 Awesomium 之类的框架,但是由于它不是开源的事实而被我拒之门外.我想创建自己的类似想法的实现.

I'm writing a game in C++ using the SDL framework, and want to create my game's GUI using HTML/CSS. I've looked into frameworks such as Awesomium, however I'm turned off by the fact that it's not open source. I want to create my own implementation of a similar idea.

但是,我几乎找不到关于以这种方式实际使用WebKit的文档.我能找到的最接近的是这个使用WebKit的Apple Developer指南,但它针对的是用Objective-C编写的特定于MacOS的应用程序.它在页面底部提到了"Webkit C参考",但是我在任何地方都找不到这个实际文档.此外,我还阅读了 WebKit Wiki StackOverflow 有关同一主题的问题,但我无法以直接,清晰的文档方式找到有关嵌入WebKit的任何信息在C ++程序中.

However, I can find almost no documentation on actually using WebKit in this manner. 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. It makes mention of a "Webkit C Reference" toward the bottom of the page, but I cannot find this actual document anywhere. 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.

此文档是否存在于某处?在C ++应用程序中嵌入WebKit的文档的最佳资源是什么?

Does this documentation exist somewhere? What is the best resource for documentation on embedding WebKit within a C++ application?

推荐答案

我对此不太确定,但是当我读到有关"c ++"和"html/css"的内容时.QT浮现在我的脑海.也许您想查看一下.

I'm not really sure about this, but when I read about "c++" and "html/css". QT comes to my mind. Maybe you want to check it out.

这篇关于在C ++应用程序中嵌入WebKit的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆