什么嵌入式浏览器的C ++项目? [英] What embedded browser for C++ project?
问题描述
有任何浏览器,我可以在C ++的Windows应用程序?
Is there any browser I could embedd in C++ application on Windows?
我需要除渲染的所有功能典型的浏览器有(HTTP客户端,饼干支持,DOM风格的HTML解析器,JavaScript引擎)的。
因为我不需要渲染能力(这是相当一个浏览器的重要组成部分)我会preFER与非整体设计的浏览器,所以我不会有包括渲染的东西到我的项目。
I need all features typical browser has (HTTP client, cookies support, DOM style HTML parser, JavaScript engine) except rendering. Because I don't need rendering capability (and that's rather big part of a browser) I would prefer a browser with non monolithic design so I wouldn't have to include rendering stuff into my project.
如果它有C ++而不是C API这将是很好。
It would be nice if it had C++ rather than C API.
我需要这个嵌入式浏览器,主要是因为我有很多的麻烦找C ++的HTML解析器,它可以处理损坏的HTML浏览器一样做的。
如果你知道,请回答图书馆推荐:C ++的HTML解析器 SO问题,或者至少它表决增加机会会有人给一个很好的答案。
I need this embedded browser mainly because I have much trouble finding C++ HTML parser which could handle broken HTML like browsers do.
If you know any, please answer Library Recommendation: C++ HTML Parser SO question or at least vote on it to increase a chance someone will give a good answer.
推荐答案
我是一个有点您对嵌入Web浏览器,你不需要渲染能力问题混为一谈。 Web浏览器被定义渲染网页,除非你只需要HTTP和XML与JavaScript功能这是一个浏览器功能的一个子集?
I'm a bit confused by your question regarding embedding a web browser for which you don't need rendering capabilities. A web browser is rendering web pages by definition, unless you just need HTTP and XML with JavaScript capabilities which is a subset of a browser functionalities?
如果您需要一个网络浏览器在你的C ++应用程序中嵌入,我建议要考虑的Qt自带的WebKit的插件。这是C ++,LGPL,有一个非常不错的IDE(Qt Creator中)。我试着用Qt的Qt创建者在UNIX(Ubuntu的),这是非常IM pressive。调试器是有点轻,但它只是第一个版本。的Qt的适配器插入的Visual C ++ 2008现在是免费的。
If you need a web browser to embed in your C++ application, I would suggest to consider Qt that comes with the WebKit plugin. It is C++, LGPL and has a very nice IDE (Qt Creator). I tried Qt with Qt Creator on unix (Ubuntu) and it was very impressive. The debugger is a bit light but it is just the first version. The adapter of Qt into visual c++ 2008 is now free.
这篇关于什么嵌入式浏览器的C ++项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!