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?
1
  • Hey Yukarin, have you found out how to resolve any of these? See my answer regarding changing User Agent. Cheers
    – zabumba
    Jun 17, 2015 at 10:51

1 Answer 1

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? ...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.