summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@digia.com>2014-06-25 12:59:59 +0200
committerMitch Curtis <mitch.curtis@digia.com>2014-06-27 10:47:40 +0200
commit17ddbcdb718cf5168190045bb450446db69ae44b (patch)
tree89a444190ec2b8a75143d4ed3a77188ee19ba805
parentf46a08f380877dd294846591270c674c38c7bc53 (diff)
downloadqtdoc-17ddbcdb718cf5168190045bb450446db69ae44b.tar.gz
Update "Getting Started with Qt for Android".
- Mention the dependencies that are necessary for 64-bit machines. - Remove mention of JAVA_HOME, as that's done in Creator now. Change-Id: I1bcb1f607fe80ba9089f746b3c01f40a66e6f6b7 Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
-rw-r--r--doc/src/platforms/android.qdoc18
1 files changed, 14 insertions, 4 deletions
diff --git a/doc/src/platforms/android.qdoc b/doc/src/platforms/android.qdoc
index 36d5269f..d364ef27 100644
--- a/doc/src/platforms/android.qdoc
+++ b/doc/src/platforms/android.qdoc
@@ -155,10 +155,6 @@ In order to use \l{Qt for Android}, you need the following:
\endlist
\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
@@ -171,6 +167,20 @@ to install:
./android update sdk
\endcode
+\note If you're developing on a 64-bit Linux machine, you must install the
+following dependencies in order to run 32-bit executables like \c adb, which
+allows Qt Creator to find devices to deploy to:
+
+\code
+sudo apt-get install libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386
+\endcode
+
+To run the emulator, the following dependencies are also necessary:
+
+\code
+sudo apt-get install libsdl1.2debian:i386
+\endcode
+
\section1 Installing Qt for Android
The Qt 5 installers for different platforms are available from the \l Downloads