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?
main.qml
// Copyright 2015 ESRI
//
// All rights reserved under the copyright laws of the United States
// and applicable international laws, treaties, and conventions.
//
// You may freely redistribute and use this sample code, with or
// without modification, provided you include the original copyright
// notice and use restrictions.
//
// See the Sample code usage restrictions document for further information.
//
import QtQuick 2.3
import QtQuick.Controls 1.2
import ArcGIS.Runtime 10.26
ApplicationWindow {
id: appWindow
width: 800
height: 600
title: "Add a map to your app"
Map {
anchors.fill: parent
focus: true
ArcGISTiledMapServiceLayer {
url: "http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"
}
}
}
It works fine when using the ArcGISLocalTiledLayer though and I was able to get through the tutorial with that.