2

I'm coding a Qt Quick app that contains a small web-page view and I can't find any settings for WebKit 3.0 in the QtWebKit or QML QtWebView documentation.

  • Q1 - How do I enable flash plugin?
  • Q2 - How do I set a different User Agent string?
  • Q3 - How do configure disk cache and cookie cache?
zabumba
  • 12,172
  • 16
  • 72
  • 129
Yukarin
  • 64
  • 6
  • Hey Yukarin, have you found out how to resolve any of these? See my answer regarding changing User Agent. Cheers – zabumba Jun 17 '15 at 10:51

1 Answers1

0

Changing the User Agent string

For changing the user agent string you could use this QtWebKit.experimental extension

 import QtWebKit.experimental 1.0

 ...

 // and add this line in your WebView
 experimental.userAgent:"Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2049.0 Safari/537.36"

See this post

But like you, I haven't found out yet about:

  • How to enable flash plugins?
  • How to configure disk cache? ...
Community
  • 1
  • 1
zabumba
  • 12,172
  • 16
  • 72
  • 129