⚠️ Forum Maintenance: Feb 6th, 8am - 14pm (UTC+2)
WebView user agent
jkosonen last edited by
Even though Nokia punched to our face, I still might do some application development and need to know:
Is it possible to change the WebView user agent to the phones own user-agent,
since it seems that it's now giving only "Mozilla/5.0"
N3Roaster last edited by
There is an example of this in the documentation of the QNetworkAccessManager class. It looks as though to adapt that to your needs you may need to adjust the link delegation policy in your QWebPage.
Edit: Sorry, didn't notice this was under Qt Quick. Assumed you were using QWebView so that answer probably doesn't help.
ayman last edited by
I have the same question, please any help?
How I can set the user agent for this example: "http://doc.qt.nokia.com/latest/demos-declarative-webbrowser.html":http://doc.qt.nokia.com/latest/demos-declarative-webbrowser.html