Select to view content in your preferred language

Blank map

1295
4
Jump to solution
04-10-2021 08:44 AM
RhettS
by
Emerging Contributor

I'm new to QT and the arcgis sdk.  I've set up my system on Windows 10 and am unable to get a map.  The ESRI arcgis sample programs run without any errors, but my mapview is always a grey screen.  Reading other posts points to an issue with OpenSSL, but I've reached my expertise limit on what could be wrong with my setup.  

To check OpenSSL, I added the following bit of code in main.cpp with the resulting output:

qDebug() << "build-time OpenSSL version:" << QSslSocket::sslLibraryBuildVersionString();
qDebug() << "run-time OpenSSL version:" << QSslSocket::sslLibraryVersionString();
qDebug()<<"QSslSocket="<<QSslSocket::sslLibraryBuildVersionString();

build-time OpenSSL version: "OpenSSL 1.1.1g 21 Apr 2020"
run-time OpenSSL version: "OpenSSL 1.1.1k 25 Mar 2021"
QSslSocket= "OpenSSL 1.1.1g 21 Apr 2020"

 

Any ideas on what could be wrong with my setup or what to check next would be greatly appreciated.  I'm out of ideas.

 

0 Kudos
1 Solution

Accepted Solutions
LucasDanzinger
Esri Frequent Contributor

Hello, and welcome!

Did you setup your API Key for accessing basemaps? https://developers.arcgis.com/qt/get-started/#3-get-an-api-key 

View solution in original post

0 Kudos
4 Replies
LucasDanzinger
Esri Frequent Contributor

Hello, and welcome!

Did you setup your API Key for accessing basemaps? https://developers.arcgis.com/qt/get-started/#3-get-an-api-key 

0 Kudos
RhettS
by
Emerging Contributor

I have not, but was under the impression that it should still work, except I would see "“Licensed for Developer Use Only” on the map until I did have an API key.

0 Kudos
Nicholas-Furness
Esri Regular Contributor

Hi Rhett.

The API key grants you access to ArcGIS Platform services, while it's the license string that removes the developers watermark in your app.

In other words, even if you're working in developer mode and see the watermark, you'll still need a suitable API key to access services.

Hope that helps.

0 Kudos
RhettS
by
Emerging Contributor

Yep, that was the issue.  Thanks.

0 Kudos