summaryrefslogtreecommitdiff
path: root/doc/src/platforms/android.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/platforms/android.qdoc')
-rw-r--r--doc/src/platforms/android.qdoc26
1 files changed, 22 insertions, 4 deletions
diff --git a/doc/src/platforms/android.qdoc b/doc/src/platforms/android.qdoc
index 27fe5e18..5f117ec5 100644
--- a/doc/src/platforms/android.qdoc
+++ b/doc/src/platforms/android.qdoc
@@ -49,9 +49,22 @@ In order to use Qt for Android, you will need the following external tools:
\li \l{http://developer.android.com/sdk/index.html}{The Android SDK Tools}
\li \l{http://developer.android.com/tools/sdk/ndk/index.html}{The Android NDK}
\li \l{http://ant.apache.org/bindownload.cgi}{Apache Ant} v1.8 or later
-\li \l{http://openjdk.java.net/install/index.html}{OpenJDK} v6 or later
+\li \l{http://openjdk.java.net}{OpenJDK} v6 or later
+\li Android Debug Bridge (ADB) driver on the Windows platform to enable USB
+ debugging. The default USB driver on Windows does not allow debugging. You
+ can download the ADB driver from the device manufacturer's support website.
+ For example, the ADB driver for Google Nexus 7 can be downloaded from
+ \l{http://support.asus.com}.
+
+ After installing the driver, try running a few basic
+ \l{http://developer.android.com/tools/help/adb.html}{adb} commands and check
+ whether your device responds to it.
\endlist
+\note You must set the \c{JAVA_HOME} environment variable to the JDK install
+directory path so that Qt Creator finds the binaries required to build your
+application.
+
After installing these tools, update the Android SDK to get the API
and tools packages required for development. You can update the SDK using the
\l{http://developer.android.com/tools/help/android.html}{android} tool that
@@ -69,9 +82,14 @@ After the SDK is updated, install the Qt 5.1 binaries using the
to develop for Android. For more information, see
\l{Qt Creator: Connecting Android Devices}.
-\note You must manually choose at least one of the two Qt libraries for Android
-(x86 and ARMv7) from the \gui{Qt 5.1.0} component tree within the \gui{Select
-Components} page of \l{Qt Installation Program}{Qt installation program}.
+\note You must select at least one of the two Qt libraries for Android
+(x86 and ARMv7) from the \gui{Qt 5.1.0} component tree in the
+\gui{Select Components} page of \l{Qt Installation Program}
+{Qt installation program}. By default, Qt libraries for ARMv7 are selected.
+
+Test your setup by running one of the desktop examples. You can list all the
+examples tested for Android using the \c{android} keyword in the search field
+under the \gui{Examples} tab in Qt Creator \gui{Welcome} mode.
\section1 Porting an Existing Qt Application