前言
在深化qt学习的过程中,发现一个qml资源丰富的代码仓库,https://github.com/Esri/dynamic-situational-awareness-qt
于是探索学习了一番。
如图:
数字地球
GIS纹理
资源路径如下:
1
https://github.com/Esri/dynamic-situational-awareness-qt
git clone https://github.com/Esri/dynamic-situational-awareness-qt.git
cd dynamic-situational-awareness-qt
git clone --branch 100.10.0.final https://github.com/Esri/arcgis-runtime-toolkit-qt.git
- Open
DSA.pro
with Qt Creator, configure the projects and build.
git clone --branch 100.10.0.final https://github.com/Esri/arcgis-runtime-toolkit-qt
https://developers.arcgis.com/downloads/#qt
2
https://download.qt.io/official_releases/online_installers/
3
https://developers.arcgis.com/qt/install-and-set-up/
Install ArcGIS Runtime SDK for Qt
- Make sure you have read / write access to your desired download and extraction location. Also make sure your account has administrative privileges: installing ArcGIS Runtime SDK for Qt on Windows requires administrative privileges.
- Go to your dashboard and select the downloads tab, and then select ArcGIS Runtime SDK for Qt.
- You must log in with your ArcGIS for Developers account to access your dashboard and downloads. If you do not have one, sign up now, it's free.
- Select the Windows download for the most recent version of ArcGIS Runtime SDK for Qt. Note that you can download older versions as well as other development platforms.
- Run the extraction wizard, which asks you to choose an extraction location.
- Run setup.exe from your chosen extraction location.
- After the setup program finishes, the post-installer starts. This integrates ArcGIS Runtime SDK for Qt with your installation of the Qt Framework and Qt Creator. Choose the Qt components you want to configure, selecting only those components that are installed on your development machine. For each component you choose, you must provide the path to that component. Please note that the post-installer needs read / write access to the User Profile's AppData folder.
- For Qt Creator, use the path to the Qt Creator app.
- For Qt Frameworks, use the path to
qmake.exe
in the Framework's install location.
4
https://github.com/Esri/dynamic-situational-awareness-qt/issues/359