返回> 网站首页 

Qt使用浏览器

yoours2008-02-29 12:32:02 阅读 1173

简介一边听听音乐,一边写写文章。

>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.
微信小程序扫码登陆

文章评论

1173人参与,0条评论