PDA

View Full Version : Embedded browser in QT



probine
13th August 2009, 23:19
Is it possible to create a QWindow (or something like it) and embed a browser in this window?

The browser could be chosen by the user, IE, Firefox, Chrome...

Please if you answer YES, then tell me how!

Thank you.

wysota
14th August 2009, 00:12
The answer is "it depends but in general no".

NoRulez
14th August 2009, 08:19
You could "embed" a QWebView and with a little bit of coding you have your own browser ;-)
Its not so difficult

Regards
NoRulez

probine
14th August 2009, 08:22
ok, the answer is I cannot use in no way a browser inside any QT element or widget.

Can I then rely that the QWebPage is a fully developed HTML browser that supports AJAX, JavaScript, and anything related to the WWW based on standards?

wysota
14th August 2009, 08:28
ok, the answer is I cannot use in no way a browser inside any QT element or widget.
The answer is you cannot use an arbitrary browser. But you can use WebKit.


Can I then rely that the QWebPage is a fully developed HTML browser that supports AJAX, JavaScript, and anything related to the WWW based on standards?

Yes, it's the most standard compliant browser of them all.