Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to embed a web browser control in a cross-platform application?

I need to write quickly this application: a simple window that wraps a web browser control, that runs html pages. The Browser UI (e.g. Navigation buttons) should be suppressed.

As a .net developer, I would embed the WebBrowser OCX in a Windows Form. But this has to run on Mac as well!

I found the following cross-platform candidates. Which one would you choose (in terms of simplicity, stableness, community support, etc.):

  1. wxWidgets: http://www.kirix.com/labs/wxwebconnect.html

  2. QT: http://www.youtube.com/watch?v=Ee8eRwjbcFk&feature=related

  3. MONO: http://www.mono-project.com/WebBrowser

like image 299
Gil Avatar asked Apr 27 '10 12:04

Gil


2 Answers

Why not to use embedded Webkit?

like image 118
Michal Čihař Avatar answered Nov 02 '22 04:11

Michal Čihař


QtWebkit:

The Qt port of WebKit currently compiles and runs on Linux (including Maemo), Windows, Mac OS X and Symbian.

Click here for build instructions.

A very simple test browser is built along with the port.

like image 23
karlphillip Avatar answered Nov 02 '22 03:11

karlphillip