Is there an easy way to setup the User-Agent the QWebView class is using?
The only relevant link I found searching was this
http://www.qtforum.org/article/2
simply,
class myWebPage : public QWebPage { virtual QString userAgentForUrl(const QUrl& url) const { return "your user agent"; } }; //Attention here is new myWebPage() not new myWebPage(parent) UI->webView->setPage(new myWebPage());