Qtwebkit flashplayer插件问题

 

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

代码加入:

//! [1]


    QNetworkProxyFactory::setUseSystemConfiguration(true);

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

posted on 2014-05-27 11:28  katago  阅读(460)  评论(0编辑  收藏  举报