Write and build your application normally. A good idea is to build the Qt Quick Hello World application for Android first before you go to town and make a lot of changes, and test the environment by compiling for the device. When you're ready to run on the device, perform the following steps:
- Navigate to Projects (on the left-hand side) and then select the Android for arm kit's Run Settings.
- Under Package Configurations, ensure that the Android SDK level is set to the SDK level of the SDK you installed.
- Ensure that the Package name reads something similar to org.qtproject.example, followed by your project name.
- Connect your Android device to your computer using the USB cable.
- Select the Android for arm run target and then click on either Debug or Run to debug or run your application on the device.
That's it! We have now set up Qt Creator for Android and saw how to build and run our application on it. Next, we will see how to deploy these applications.
In addition to supporting Android, Qt also supports iOS; other platforms might be supported in the future. For more information on Qt's support for mobile platforms, refer to the Qt documentation at https://doc.qt.io/qt-5/mobiledevelopment.html.