复制npswf32.dll 到 C:WINDOWSsystem32MacromedFlash
代码加入:
//! [1]
QNetworkProxyFactory::setUseSystemConfiguration(true);
// flash support
QWebSettings::globalSettings()->setAttribute(QWebSettings::PluginsEnabled, true);