radmir
21st February 2013, 07:24
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
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