i'm doing my the first Qt tutorial (Add a map to your app) but sit behind a firewall that is configured in in the standard Windows Internet options. When I build the solution, If I'm using an ArcGISTiledMapServiceLayer for the basemap, it doesn't show. I assume this is because the request needs to be sent through our proxy.
How can I tell the Qt app to detect and use the default proxy settings configured for the user in windows?
title: "Add a map to your app"
It works fine when using the ArcGISLocalTiledLayer though and I was able to get through the tutorial with that.
I actually did find that in the Runtime docs but wasn't aware of the Component.onCompleted piece. While this makes sense and for most it is probably the right answer, it didn't work for me after I inserted our proxy url and port.
I then updated the proxy to localhost and fired up fiddler to see if I could get any insight from the network requests. Tunneling through Fiddler it worked fine, but once I closed Fiddler I lost the WebMap again if I rebuilt the solution.
Not sure if helpful, but try the following - it worked for us.
How to detect if a network proxy is being used?
Paul, where are you referencing AppFramework from? I tried to import it but that didn't work.
Looked up AppFramework, seems to be something specific to AppStudio which I'm not using.
If you are using 127.0.0.1, it will only work when you have a local proxy running like fiddler. Otherwise, it is telling the API to run things through the proxy, but that proxy isn't actually running, and the network requests will never make it out.