[Development] How to QNAM from the WebCore jungles?

Thiago Macieira thiago.macieira at intel.com
Thu Feb 26 20:22:15 CET 2015


On Thursday 26 February 2015 18:56:31 Ilya Kowalewski wrote:
> Hiho,
> 
> I am looking for a way to fetch some resources from WebCore sources
> (QtWebKit) with QNAM. I want it to be associated with user-agent of
> QWebView and referrer of QWebPage. Is there a way to handle this?

Hello Ilya

This is not a question for the development mailing list, so I've bcc'ed it and 
moved it to interest.

You can set the User-Agent and Referrer fields of your request. See 
QNetworkRequest::setHeader.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list