Build an android development environment for the official version of QT5.1 in Ubuntu

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.