Deploying and Running Applications on Qt Application Manager Devices
Overall, the deployment consists of four steps that depend on each other. Usually, you can use the default settings.
Warning: The deployment only works if you have added the
info.yaml file to your project file. When using qmake you can use the
OTHER_FILES variable. This
info.yaml file has to comply with the Qt Application Manager Manifest Definition.
The plugin takes the following deployment steps:
- Prepare package creation
The plugin automatically executes a
make installcommand to a temporary location within the build directory. You can add files to the package by using the INSTALLS variable.
Note: Your application has to be self contained and must ship all its dependencies within the application package. Only exception are dependencies to the general system available on the target, like Qt or QML imports.
- Create application manager package
The packaging utility is used to create the package file based on the content available in the source directory. For more information, see Qt Application Manager packager.
- Prepare installation of application manager package
In this step the plugin copies the package file to a temporary location on the target. In case the target is the local PC only an internal reference is set.
- Install application manager package
The package file will be installed into the system using the controller utility on the target. For more information, see Qt Application Manager controller
appmanhas to be running on the target or this step will fail.
When running the application from within Qt Creator the application will be launched using the specified controller together with the Application ID. In case the Force stop application before execution check box is selected the
appman will kill the old application instance and launch a new one instead of returning immediately.
Available under certain Qt licenses.
Find out more.