Qtwebkit flashplayer插件问题

 

复制npswf32.dll 到 C:\WINDOWS\system32\Macromed\Flash\

代码加入:

//! [1]


    QNetworkProxyFactory::setUseSystemConfiguration(true);

// flash support
    QWebSettings::globalSettings()->setAttribute(QWebSettings::PluginsEnabled, true);

你可能感兴趣的:(webkit)