[Qt-interest] QtWebKit plugin issues
Peter
pgeorges at gmail.com
Tue Oct 27 06:26:09 CET 2009
Anyone? There is no information other than "set QWebSettings::PluginsEnabled
to true" to get flash working... why does it not work for me?
On Sat, Oct 24, 2009 at 1:26 AM, Peter Georges <pgeorges at gmail.com> wrote:
> It does not work in 4.5 for me either in linux
>
>
> On 23/10/2009, at 7:38 PM, Andrew Stuart wrote:
>
> Flash is broken in 4.6 under Windows.
>
> as
>
> On 23/10/2009, at 7:19 PM, Peter wrote:
>
> I have a few issues with QtWebKit under both osx 10.6 (using Qt 4.6.0beta1
> w/cocoa) and linux (using Qt 4.5.2). Firstly, I cannot get flash working at
> all (I use youtube as a test). I set the globalSettings() correct as
> follows:
>
>
> QWebSettings::globalSettings()->setAttribute(QWebSettings::PluginsEnabled,
> true);
>
> QWebSettings::globalSettings()->setAttribute(QWebSettings::JavascriptEnabled,
> true);
>
> then when I load the page I confirm that plugins and javascript are both
> enabled:
>
> std::cout << "plugins enabled: " <<
> webView->page()->settings()->testAttribute(QWebSettings::PluginsEnabled) <<
> std::endl;
> std::cout << "javascript enabled: " <<
> webView->page()->settings()->testAttribute(QWebSettings::JavascriptEnabled)
> << std::endl;
> webView->load(QUrl(url));
>
> prints out:
>
> plugins enabled: 1
> javascript enabled: 1
>
> I have flash10 installed on both linux and osx in the correct directories,
> but it just tells me that I have no flash browser installed or my javascript
> is not enabled...
>
> What am I doing wrong?
>
> Report this message as spam<https://login.mailguard.com.au/report/1yx25wQoGU/SldpQ8kepdyNpQYmAD1fT/0.002>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091027/e541a43b/attachment.html
More information about the Qt-interest-old
mailing list