要显示flash,需要在网页相关设置中启用插件: QWebSettings ::globalSettings()->setAttribute( QWebSettings ::PluginsEnabled, true);
http://qt-project.org/forums/viewthread/7512
亮点:
I’d like to show a flash video with other widgets on a QScrollArea. I’ve created a QWebView like that:
1. QNetworkProxyFactory::setUseSystemConfiguration (true);
2. QWebSettings::globalSettings()->setAttribute(QWebSettings::PluginsEnabled, true);
4.video->setFixedSize(550,343);
5.video->setHtml(...);
The video appears
HxLauncher: Launch Android applications by voice commands