1. Download and install Qt 5.1.0 for Android (Windows 32-bit, 716 MB) http://qt-project.org/downloads
2. Open Qt Creator, open help, enter android, find the official instructions, and follow the steps in the tutorial.
3. download the following four software:
1) download and install The Android SDK Tools
2) download and decompress The Android NDK. Note that no space is allowed.
3) download and decompress Apache Ant v1.8 or later.
Download and decompress v6 or later
4. Open Qt Creator, select tool-Option-android, configure the file path you just installed, and click Start android AVD manager]
5. Click New to create an android simulator and select Device as needed.
6. Click OK-OK, select the device you just created, and click Start to Start. This process is slow and patient.
7. Restart Qt Creator to check whether the device is installed. Check whether the build kit and Qt version are correct during building and running. Then, you can create a project.
8. Create a Qt gui project and select android for arm.
9. modify the code to display hello Qt
MAINWINDOW_H<QMainWindow><QLabel> MainWindow : **parent = ~
#include *= QLabel(,->setGeometry(,,,~
10. Click build to check whether the compilation is normal. If an error is reported, leave a message and try your best to solve the problem. If everything is normal, click Run. This process is slow and will be compiled into an apk file and deployed to the simulator.
I don't know why this is not full screen. I haven't studied it carefully. Haha
You can modify the settings of the android program in the project properties.
The specific settings can be viewed in the help of Qt. Stable versions will wait until Qt5.2 is released. I believe Qt will do better and better.
This is the end of Environment setup!