Build an android development environment for the official version of QT 5.1 In Ubuntu
I. Preparations
1. Download qt-linux-opensource-5.1.0-android-x86-offline.run Installation
2. install jdk: sudo apt-get install openjdk-6-jdk
3. install ant: sudo apt-get install ant
4. Download ndk: http://dl.google.com/Android/ndk/android-ndk-r9-linux-x86.tar.bz2
Sdk: http://dl.google.com/android/adt/adt-bundle-linux-x86-20130729.zip
Ii. Configure the environment
My Configuration:
1. decompress the ndk and sdk to/home/liuyan/libAndTool.
2. Open qt and configure it as shown in Figure
The configuration is now complete.
Iii. Test
1. Create a project
Application-> Qt Gui application-> select
Select a suite. I select for X86 and for arm.-> next step
Compiled and run successfully
Recommended reading:
Install and configure Gtk and QT compiling environments in Ubuntu
Build a QT environment in Linux
Solution for failure to run the QT console program in Ubuntu and how to configure XTerm
How to port QT4.7.4 in Ubuntu 10.04