互联网浏览器 Qt4 小部件? [英] An Internet browser Qt4 widget?

查看:53
本文介绍了互联网浏览器 Qt4 小部件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在 GUI 中显示一个小框 (400x85),该框显示在网络上的 HTML 文件中.QtWebKit 类获得了他的 QWebView 小部件,但是整个 QtWebKit 类非常重,重量为 16MB,并且将应用程序的初始化速度减慢了三个秒.

I'm want to show in the GUI a small box (400x85) that shows in an HTML file over the web. The QtWebKit class got his QWebView widget, but the whole QtWebKit class is VERY heavy, weights 16MB, and slows the init of the application in three seconds.

加载整个 QtWebKit 类并不是为了显示一个 HTML 页面.是否可以使用 IE 的内置 Web 引擎?(通过 ActiveX 对象之类的?)

It's not really necessary to load the whole QtWebKit class just to show an HTML page. It is possible to use IE's built in web engine? (Through an ActiveX Object or something?)

推荐答案

您可以通过 ActiveQT 使用 Internet Explorer.yourqtdir\4.8.0\examples\activeqt\webbrowser"中有一个c++示例.

You can use Internet Explorer via ActiveQT. There is a c++ example in "yourqtdir\4.8.0\examples\activeqt\webbrowser".

这篇关于互联网浏览器 Qt4 小部件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆