Configure QT5.2.0-Android:
Develop software in Windows 7 ~ You don't need to use eclipse to develop android software. After configuration, you can write C ++ code and run the APP on your Android phone!
Software Configuration: ensure that you only have one Qt on your computer. If you have installed other versions of Qt on your computer, uninstall the tape, it is important to uninstall all components, and to know some added items in your system environment variables. Because the Qt-for-android-5.2.0 can not only Android development, but also some local PC development! We don't have to worry! Well, let's not talk much about it. We started to build the environment!
Software preparation and installation steps:
Qt-opensource-windows-x86-android-5.2.1.exe
After installation, you need to add some paths to the system path:
Click Advanced System settings to edit the environment variable:
You also need to download Java Platform (JDK)
Http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
Click windows x86 to install
By default, you need to add the Java path to the system path after the conversion:
Create a system path item:
ClassPath C: \ Program Files (x86) \ Java \ jdk1.7.0 _ 51 \ bin
JAVA_HOME C: \ Program Files (x86) \ Java \ jdk1.7.0 _ 51
Download later
Adt-bundle-windows-x86-20131030.zip ------ Android Development SDK
Http://developer.android.com/sdk/index.html
After the download is complete, decompress the package in the specified directory and then perform the upgrade:
Open SDK Manager.exe for upgrade. You can select the version of the developed interface, and then perform online upgrade and installation.
Add the tools Path in the SDK to the system Path.
Then install NDK:
Android-ndk-r9c-windows-x86.zip
Http://developer.android.com/tools/sdk/ndk/index.html
Download the Windows 32-bit version.
Decompress the package to the top-level directory of android SDK.
Then add path D: \ AndroidEnv \ android-ndk-r9c to androidNDKHOST under system path.
Then you need to download the apache-ant-1.9.3-bin.zip
Http://ant.apache.org/bindownload.cgi
Download the latest ant version and decompress it to the same directory as the SDK and NDK.
Finally, you need to configure the Qt-Android development environment:
Open QtCreator and perform the following operations:
Click tool options:
Click "options" and then select Android options
Restart QtCreator and select different development kits and different development modes.
Good luck! If the installation is not successful, leave a message. I will do my best to help you set up the most basic development environment! Hope you can give me more advice!