Esri / arcgis-maps-sdk-toolkit-qt

ArcGIS Maps SDK for Qt Toolkit
Apache License 2.0
132 stars 61 forks source link

Example apps can now read an ENV variable to set the API key. #470

Closed anmacdonald closed 3 years ago

anmacdonald commented 3 years ago

As discussed, added a configuration to read the API Key from the environment if not explicitly set.

Ran the formatter which edited the file moree than I expected. Sorry about that.

anmacdonald commented 3 years ago

Yeah in that case it will be a blank QByteArray converted to a blank QString.

https://doc.qt.io/qt-5/qtglobal.html#qgetenv