Possible Duplicate:
How to embed a web browser control in a cross-platform application?可能重复:如何在跨平台应用程序中嵌入Web浏览器控件?
I'd like to embed a browsing engine (HTML,JS,CSS,DOM) in my desktop applications. Which one is most suitable for me if I want to use it in a cross-platform desktop application?
我想在我的桌面应用程序中嵌入一个浏览引擎(HTML,JS,CSS,DOM)。如果我想在跨平台桌面应用程序中使用它,哪一个最适合我?
Should I stick to one specific or write my own abstraction layer on top of the natives ones?
我应该坚持一个特定的,还是在原生的抽象层之上编写我自己的抽象层?
Update: A solution needs to provide an option for at least Windows/Mac/Linux.
更新:解决方案需要为至少Windows / Mac / Linux提供选项。
4 个解决方案
#1
0
Should I ... write my own abstraction layer on top of the natives ones?
我应该......在我们自己的抽象层之上编写我自己的抽象层吗?
Having struggled with this exact issue, I think this is the only safe option at the moment. Something like Webkit on *nix, and Internet Explorer on Windows.
在努力解决这个问题之后,我认为这是目前唯一安全的选择。类似于* nix上的Webkit和Windows上的Internet Explorer。
#2
2
Awesomium might serve your needs-- it's a cross platform (Windows and Mac OSX) library based off of Google Chromium intended to help users embed a full-featured browser in their applications. It's free for non-commercial use and has a C++ API.
Awesomium可能满足您的需求 - 它是一个基于Google Chromium的跨平台(Windows和Mac OSX)库,旨在帮助用户在其应用程序中嵌入功能齐全的浏览器。它可以免费用于非商业用途,并且具有C ++ API。
#3
1
WebKit is very lightweight and runs on all platforms. You will have to look at Google Chrome to see how to embed it into a Windows application. I believe it's native to GTK. There are also bindings for wxWidgets / wxPython.
WebKit非常轻量级,可在所有平台上运行。您必须查看Google Chrome才能了解如何将其嵌入到Windows应用程序中。我相信它是GTK的原生。还有wxWidgets / wxPython的绑定。
#4
1
Qt is highly optimised, cross-platform yet native-looking, usable from C++, Java and Python, and includes WebKit.
Qt经过高度优化,跨平台且具有原生外观,可从C ++,Java和Python中使用,并包含WebKit。
#1
0
Should I ... write my own abstraction layer on top of the natives ones?
我应该......在我们自己的抽象层之上编写我自己的抽象层吗?
Having struggled with this exact issue, I think this is the only safe option at the moment. Something like Webkit on *nix, and Internet Explorer on Windows.
在努力解决这个问题之后,我认为这是目前唯一安全的选择。类似于* nix上的Webkit和Windows上的Internet Explorer。
#2
2
Awesomium might serve your needs-- it's a cross platform (Windows and Mac OSX) library based off of Google Chromium intended to help users embed a full-featured browser in their applications. It's free for non-commercial use and has a C++ API.
Awesomium可能满足您的需求 - 它是一个基于Google Chromium的跨平台(Windows和Mac OSX)库,旨在帮助用户在其应用程序中嵌入功能齐全的浏览器。它可以免费用于非商业用途,并且具有C ++ API。
#3
1
WebKit is very lightweight and runs on all platforms. You will have to look at Google Chrome to see how to embed it into a Windows application. I believe it's native to GTK. There are also bindings for wxWidgets / wxPython.
WebKit非常轻量级,可在所有平台上运行。您必须查看Google Chrome才能了解如何将其嵌入到Windows应用程序中。我相信它是GTK的原生。还有wxWidgets / wxPython的绑定。
#4
1
Qt is highly optimised, cross-platform yet native-looking, usable from C++, Java and Python, and includes WebKit.
Qt经过高度优化,跨平台且具有原生外观,可从C ++,Java和Python中使用,并包含WebKit。