Qt for Android (Hello World APK created)
QT is a cross-platform, such as desktop, mobile, embedded platform.
Qt for Android can run QT5 applications on Android v2.3.3 (API level 10) and later versions.
Note: In addition to Qt WebKit, Qt NFC, Qt Serial Port, qt Mac Extras, QT Windows Extras, and QT X11 Extras modules, other QT modules (basic modules and add-ons) are available.
What can be done?
1. Run the widget, QML application on an Android device or emulator.
2. Process multimedia on the QT Quick 2 application, such as camera, radio, audio, video, etc.
3. Use hardware sensing technology, such as touch gestures, gravity sensors, etc.
4. Collect real-time location data via networks, satellites, and so-called GPS.
5. Connect other Bluetooth devices.
6. Develop the application using the OpenSSL library.
7. Use QT Creator to create and configure the APK.
What do you do?
1. Android SDK Tools
Http://developer.android.com/sdk/index.html
1) Download "ADT Bundle" or "SDK Tools only" (e.g. adt-bundle-linux-x86_64-20140702)
2) Install the SDK (e.g. Eclipse ADT)
3) Add SDK Packages (using Android SDK Manager)
Steps:
2. Android NDK
Http://developer.android.com/tools/sdk/ndk/index.html
1) Download Android NDK (e.g. Android-ndk-r10c-linux-x86_64.bin)
2) Install Android NDK
$ chmod Android-ndk-r10c-linux-x86_64.bin
$./android-ndk-r10c-linux-x86_64
3. Apache Ant (v1.8 or later)
http://ant.apache.org/bindownload.cgi
4. JDK (V6 or later)
Available on Linux OpenJDK
Http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
5. Installation is also required on Windows
MinGW (v4.8.0 Revision 2)
http://www.mingw.org/
USB Driver
Http://developer.android.com/sdk/win-usb.html
6. Reliance
Running 32-bit executables (such as ADB) on 64-bit Linux also requires
$ sudo apt-get install libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386
Running the emulator also requires
$ sudo apt-get install libsdl1.2debian:i386
7. Qt Creator
1) Download qt 5.3.2 for Android (<os such as Linux 64-bit>)
Http://qt-project.org/downloads
2) Install Qt-opensource-linux-x64-android-5.3.2.run
$ chmod a+x Qt-opensource-linux-x64-android-5.3.2.run
Double-click "Qt-opensource-linux-x64-android-5.3.2.run" to start the installation.
3) Qt Creator configuration
Tap Tools-> Options-> Android.
Then configure the SDK and NDK path, tick "Automatically create kits for Android tool chains".
Then add the AVD, such as:
After the AVD has been added successfully, the AVD can be managed through "Start AVD Manager", such as:
8. Hello World Create
1) Create QT Quick application
2) Kits Kit selection
3) Run, select the available AVD
4) Hello World screen
http://blog.csdn.net/ieearth/article/details/41280461
Qt for Android's Hello World