Qt/webkit and flash

前端 未结 2 2153
無奈伤痛
無奈伤痛 2021-01-05 10:04

I have installed pyqt 4.8.1 on xp and Qt in package. I have a tag like



<         


        
                      
相关标签:
2条回答
  • 2021-01-05 10:41

    All you have to do is enable plugins. See the python specific Qt example but in C++ its like this.

    QWebPage *webpage = ... webpage->settings()->setAttribute(QWebSettings::PluginsEnabled, true);

    Plugins are loaded by NPAPI http://en.wikipedia.org/wiki/NPAPI

    0 讨论(0)
  • 2021-01-05 10:43

    use AC_RunActiveContent.js. for your flash embed, it works in all browsers. This is included as the standard method of embedding within Dreamweaver, but is downloadable if you prefer to use another solution. you can download it here -->link text

    0 讨论(0)
提交回复
热议问题