Build an android development environment for the official version of QT 5.1 In Ubuntu

Source: Internet
Author: User

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

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.