Question

I want to build a program in c++ ( on Linux ) that can show webpages etc.

but i dont want to build an html converter. are there some solutions like c# that let you use the webbrowser engine from another browser so your actually something like 'chromium' in your window (or a other engine). And if this is possible what engines do you recommend?

it would be really cool if they also support html5 with webgl but thats not a pre.

Thanks :)

Was it helpful?

Solution

The easiest way is probably to use WebKit. Since there are existing bindings for WebKit to Qt and to GTK, it's probably easiest if you build the rest of your program using one of those.

WebKit is the rendering engine used by Chrome (among others), so at least from a viewpoint of rendering HTML, this should give results fairly similar to using Chrome. Note, however, that Chrome uses Google's own V8 Javascript engine. By default, WebKit uses the JavascriptCore engine, so for Javascript it wouldn't be at all surprising to see at least some differences between the two.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top