QT Deployment.
Deploying to Android Virtual Device.
Deploying to Android Device.
In order to deploy to a real Android device the Qt Quick IDE provides an extremely friendly process that allows the programmer to test the application minutes after designing the application. For that we'll make use of our HelloWorld application provided from the base project made in the introduction.
In order to deploy the project it must first be built using the menu Build and selecting Build <PROJECT NAME>. As an alternative it's possible to simply select CTRL + B to start the build process automatically. |
If the project has been successfully built with no errors the user must deploy or run the application. The long way is to go th the menu Build and select the option Run. The easy way is to press CTRL + R to start the deploying process.
On it, a dialog window will appear asking the user for the device to run the application. On it all compatible virtual and physical devices will appear (as long as they're connected, LOL). In our case we're using a Samsung Galaxy Tab 2.7.0 P3110 which we select to run the application.
It will take some time to load and once finished the developer can monitor the application's state (operating, errors, closed) until stopped either on the cellphone or the IDE.
On it, a dialog window will appear asking the user for the device to run the application. On it all compatible virtual and physical devices will appear (as long as they're connected, LOL). In our case we're using a Samsung Galaxy Tab 2.7.0 P3110 which we select to run the application.
It will take some time to load and once finished the developer can monitor the application's state (operating, errors, closed) until stopped either on the cellphone or the IDE.
The console shows the application being executed and gives a callback when it's closed on the device.