Ubuntu QT5.1 official version of Android development environment to build a, preparation 1, download qt-linux-opensource-5.1.0-android-x86-offline.run installation 2, install jdk: sudoapt-getinstallopenjdk-6-jdk3, install ant: sudoapt-getinstallant4, download: ndk: http://dl.googl
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 http://www.linuxidc.com/Linux/2013-08/88539.htm in Gtk and QT compiling environment in Ubuntu
Building http://www.linuxidc.com/Linux/2013-07/87576.htm in QT environment in Linux
Ubuntu QT console program cannot run solution and XTerm configuration method http://www.linuxidc.com/Linux/2013-06/86244.htm
Ubuntu 10.04 QT4.7.4 porting detailed http://www.linuxidc.com/Linux/2013-01/77930.htm
For more information about Android, see Android topics page http://www.linuxidc.com/topicnews.aspx? Tid = 11
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2