×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Sep 2010
    Posts
    31

    QML Webview User Agent

    How to set QML webview user agent?

    Thanks,
    Siddharth

  2. #2
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: QML Webview User Agent

    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.

  3. #3
    Registered User
    Join Date
    Sep 2010
    Posts
    31

    Re: QML Webview User Agent

    Thanks Savaj..

    can u provide a working example..
    Last edited by Siddharth5; 2011-10-14 at 05:57.

  4. #4
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: QML Webview User Agent

    I don't have any...

  5. #5
    Registered User
    Join Date
    Sep 2010
    Posts
    31

    Re: QML Webview User Agent

    No Problem..
    I got it.. :-)

    Thanks a lot :-)

  6. #6
    Registered User
    Join Date
    Apr 2012
    Posts
    17

    Re: QML Webview User Agent

    Hi Siddarth can you please share how did you solve your problem?

Similar Threads

  1. QML webview user agent
    By waelfarouk in forum [Archived] Qt Quick
    Replies: 2
    Last Post: 2011-12-28, 10:39
  2. How to change user agent in webview?
    By molbal in forum [Archived] Qt Quick
    Replies: 3
    Last Post: 2011-11-04, 19:49
  3. User Agent for N86
    By subin.sam in forum Browsing and Mark-ups
    Replies: 4
    Last Post: 2010-10-15, 07:02
  4. User agent
    By sunil.dce in forum Mobile Java General
    Replies: 2
    Last Post: 2007-01-29, 08:16

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×