Results 1 to 2 of 2

Thread: How to use QNetworkAccessManager?

  1. #1
    Join Date
    Feb 2013
    Posts
    31
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default How to use QNetworkAccessManager?

    Hi, All,

    Can anybody explain, how to use QNetworkAccessÐœanager?
    Newly created it has no ActiveConfiguraion - at least with empty name and it isn't valid.
    I have several possible network connections, which I may use.
    But really I wanna use the only one, which is Active, and I can get its configuration by its name.
    The question is:
    How to force QNetworkAccessÐœanager to use this config?
    By calling QNetworkConfigurationManager.setConfiguration I may change it, but if I call QNetworkAccessÐœanager.ActiveConfiguration I got the old not valid config!

    So, can anybody advice me, what or how to do this?

    Thanks,
    Radmir

  2. #2
    Join Date
    Feb 2013
    Posts
    31
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to use QNetworkAccessManager?

    Sorry, my fault,
    no need to seek explanations - the reason was - the target url redirects me to another place and I must proper handle this situation!

    Thanks,
    Radmir

Similar Threads

  1. QNetworkAccessmanager and ICY-Server
    By jörg in forum Qt Programming
    Replies: 2
    Last Post: 12th August 2011, 12:36
  2. QNetworkAccessManager
    By cuteatul in forum Qt Programming
    Replies: 1
    Last Post: 8th July 2011, 05:34
  3. QNetworkAccessManager and https. help!
    By valerino in forum Qt Programming
    Replies: 0
    Last Post: 22nd July 2010, 14:13
  4. QNetworkAccessManager question
    By _Stefan in forum Qt Programming
    Replies: 1
    Last Post: 5th March 2010, 12:21
  5. QNetworkAccessManager or QHttp
    By mind_freak in forum Qt Programming
    Replies: 3
    Last Post: 29th September 2009, 20:24

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.