Link to home
Start Free TrialLog in
Avatar of anAppBuilder
anAppBuilderFlag for United States of America

asked on

Best embedded browser for C/C++

I am considering using an embedded browser in a C/C++ application as a user interface.

Can anyone recommend a good browser for this use and explain why the one you suggest is a good choice.

Thank you!
Avatar of tampnic
tampnic
Flag of United Kingdom of Great Britain and Northern Ireland image

Webkit can be embedded into a c++ application with a bit of work - see https://github.com/bfulgham/CallJS for an example.

Many frameworks also provide browser controls e.g. MFC has the WebBrowser control, Qt has the WebView control, wxWidgets has a couple of options you can use. There is a Chrome Frame ActiveX control, or the old faithful iFrame and all its attendant memory leaks,

I have only used webkit (not in C++ but Java on an Android-based system) and found it a bit buggy for my liking, but then I was interfacing with  complex Flash objects produced by a 3rd party app and Flash isn't exactly the most solid platform either. The project was abandoned due to bugs in webkit and Flash which weren't getting fixed anytime soon.

In summary there are very many options, none of them without their faults and foibles. Is HTML5 compatibility an issue for you for instance?

If you are looking for a web-type UI why not design the system as a web application? PHP is very easy to get started with if you're familiar with C++, or just use C++ cgi scripts. Is there any particular reason in your spec why not?

Cheers,
   Chris
Avatar of anAppBuilder

ASKER

Thank you, Chris, for sharing your experience with Webkit.

Yes, HTML5 is a requirement.

There are a number of reasons why we prefer not to create a web app.  Therefore we want to investigate all the other options.
ASKER CERTIFIED SOLUTION
Avatar of tampnic
tampnic
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks again, Chris