Deploy your app
Applications built with ArcGIS Runtime SDK for Qt are self-contained. For example, they do not add keys to the registry. Deploying them can be as simple as copying and pasting your .exe files along with other dependent files to a different machine or device. Likewise, uninstalling can be as simple as deleting the files. The SDK lets you build and deploy self-contained, stand-alone applications or build and deploy capabilities into existing software.
Follow the steps below to ensure you've licensed the capabilities your app uses and that you understand associated costs.
- License the capabilities you included in the app. Licensing comes in two levels, Basic and Standard. License your app describes license levels and costs associated with deployment.
- Attribute Esri in your application. For details, see the attribution section in License your app.
- Prepare your application: compile your application, and then place it and any associated resources, such as packages, data, or client files, inside a folder you intend to use as a deployment folder. Also, copy the the Qt Company Qt SDK library files needed by your application at run time (such as Qt5Core.dll) to the deployment folder.
- Because every application requires a minimum set of Runtime components, you must create a Runtime deployment using the
Deployment Builderas described in Build a Runtime deployment. This results in a folder named arcgisruntime10.2.6 that contains files required by your application. For applications that use local services, the client files are at the same level as the arcgisruntime10.2.6 folder. The application will use the local server contained in the arcgisruntime10.2.6 folder.
- The deployment folder now contains everything you need to deploy your application. To distribute and deploy your application, copy and paste the deployment folder onto each of your end-user's machines or devices. Each deployment folder can be self-contained and consists of the following:
- Your application (client files).
- Supporting library files your application uses.
- Runtime components from step 4 in a folder named arcgisruntime10.2.6.
- Supporting files, such as data or packages for local use. When you package data for use with your application, a report is provided that tells you which Runtime components the package requires. Use this report to determine which Runtime components to select during the deployment process.
- Test the application by running it from this location.
For ArcGIS Runtime SDK deployments to Linux, it is particularly important that an application is not tested by running it from the deployment folder, as the SDK creates files that are specific to the current machine and user. To test a Linux deployment, make a copy of the deployment folder, test using one copy, and deploy the other clean copy. Similarly, deployments to Linux should only be run from a USB if they are not intended to be deployed to a different machine.