Qt使用浏览器

来源:互联网 发布:交互设计软件 html 编辑:程序博客网 时间:2024/06/10 02:28
>Of course, the browser won't be inside your application, but many applications 
>work like this, and it is better if (as is often the case) the user already is 
>running the browser.
The solution is nice, but not for my application.

Here I find some solution for this problem. Embed konqueror by the KDE APIs, for KDE just write by QT, so it's easy to do this. Here is the reference:
http://lists.trolltech.com/qt-interest/2...ead00114-0.html
PS: This webpage was wrote in 2002, and support by QT3, if you want make konqueror running in QT4 application, you need to install the new release KDE4.

The other solution is based on firefox, but also the problem is the verision of qt-firefox was wrote by QT3, if you using GTK or QT3, it's easy to embed firefox in your applicaion and you can get reference from here: http://www.mozilla.org/projects/embedding/

And the third solution is webkit, which QT4.4 already integrate is inside, you can get reference from here:
http://trolltech.com/products/qt/whatsne...archterm=webkit
http://labs.trolltech.com/blogs/2008/01/...i-just-got-one/
I think Webkit is the easiest way from embed a web browser in your QT application, but it's not support media plugin now.
原创粉丝点击