views:

624

answers:

4

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?

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.

A: 

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.

Ali A
+1  A: 

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.

wizlb
A: 

Qt is highly optimised, cross-platform yet native-looking, usable from C++, Java and Python, and includes WebKit.

Javier
Used QT for different purposes, but can confirm quality and good support, they are nokia now hope it's still good as it was.
Ilya
A: 

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.

Adam