An Internet browser Qt4 widget?

感情迁移 提交于 2019-12-13 04:09:06

问题


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.

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?)


回答1:


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



来源:https://stackoverflow.com/questions/10053409/an-internet-browser-qt4-widget

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!