IMHO #4 gives the best out-of-the-box experience. Is there a way to do the blocking winapi call in a thread on app start-up maybe?
How do other apps (i.e. Chrome) handle this without blocking the user experience? Simon -- Sendt fra min Nokia N911.10.12 15:12 skrev Peter Hartmann: Hello, I remember this has been discussed before, but yet again: How about using the system proxy by default, at least on some platforms or by configure switch? Right now every app developer has to call QNetworkProxyFactory::setUseSystemConfiguration(true) in his code to use the system proxies. On desktop you might want to avoid this depending on your app, but on mobile (e.g. Blackberry) it might happen that you just have to use the system configuration and it will not work without it. IMO there are 4 options: 1. leave as it is, tell everybody to call above method in their app 2. just #ifdef for the platforms where it should be used automatically 3. introduce a configure switch "-use-system-proxy" or so (default no) 4. enable usage of system proxy globally 1. sounds a bit cumbersome for me; I prefer 2. for pragmatic reasons. If people think 3. is cleaner that is fine with me as well. As Shane told me, using the system proxy on Windows might lead to several seconds of delay until the synchronous method that determines the proxy returns, so for now 4. seems too risky. Please suggest / comment etc. Peter --------------------------------------------------------------------- This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful. _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development