How to set QML webview user agent?
Thanks,
Siddharth
A QML engine uses QNetworkAccessManager for all network access. By implementing a factory, it is possible to provide the QML engine with custom QNetworkAccessManager instances with custom "User-Agent".
Check QDeclarativeEngine::setNetworkAccessManagerFactory(), QDeclarativeNetworkAccessManagerFactory, and QNetworkAccessManager for more details.
Thanks Savaj..
can u provide a working example..
Last edited by Siddharth5; 2011-10-14 at 05:57.
Hi Siddarth can you please share how did you solve your problem?