[Qt-interest] Why my QtWebKit application doesn't support flash?

Thiago Macieira thiago.macieira at trolltech.com
Sat Mar 14 18:13:53 CET 2009


Dong Tiger wrote:
>Hi all,
>
>The code is as simple as below:
>
>#include <QtWebKit/QWebView>
>#include <QtGui/QApplication>
>#include <QUrl>
>
>int main(int argc, char **argv) {
>  QApplication app(argc, argv);
>  QWebView view;
>  view.show();
>  view.setUrl(QUrl("http://www.youtube.com"));
>  return app.exec();
>}
>
>On the same machine, arora supports flash. What trick should I do to
> enable flash support?

See QWebSettings::PluginsEnabled in 
http://doc.trolltech.com/4.5/qwebsettings.html#WebAttribute-enum
-- 
Thiago Macieira - thiago.macieira (AT) nokia.com
  Senior Product Manager - Nokia, Qt Software
      Sandakerveien 116, NO-0402 Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090314/b86d4c18/attachment.bin 


More information about the Qt-interest-old mailing list