summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2020-02-05 13:36:56 +0100
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2020-02-05 13:36:56 +0100
commitf6d4d9848673086e08956f5af280dfc15afec1d9 (patch)
tree982ba19f302630b97a38119f71aa7a6e0a2f71bd
parentd8886a4d40c452eb107676a59b5db45ead4a2477 (diff)
parentc8caad549f55040adbf839e05f2cf91b29ee6880 (diff)
Merge remote-tracking branch 'origin/5.14' into 5.15v5.15.0-alpha1
Conflicts: .qmake.conf Change-Id: Idae3ea73fc06383ff7adb96b9741e96623cc62cc
-rw-r--r--doc/src/platforms/android-platform-notes.qdoc41
-rw-r--r--doc/src/platforms/android.qdoc2
2 files changed, 40 insertions, 3 deletions
diff --git a/doc/src/platforms/android-platform-notes.qdoc b/doc/src/platforms/android-platform-notes.qdoc
index ee3e237b9..d357acde9 100644
--- a/doc/src/platforms/android-platform-notes.qdoc
+++ b/doc/src/platforms/android-platform-notes.qdoc
@@ -40,7 +40,7 @@
\section1 Android Development in Qt Creator
The easiest way to develop with Qt for Android is to use
- \l{http://doc.qt.io/qtcreator/creator-developing-android.html}{Qt Creator}. When you apply
+ \l{https://doc.qt.io/qtcreator/creator-developing-android.html}{Qt Creator}. When you apply
a \b{Qt for Android Kit} to a Qt Creator project, it will create and maintain a set of files which
are required to make your application run on Android.
@@ -117,7 +117,7 @@
\section1 Multimedia Special Considerations
The \l{Qt Multimedia Widgets} module is not supported on Android, which means
video display is only available using the VideoOutput and the \l [QML]{QtMultimedia::}{Video}
- QML Type.
+ QML Type.
\section1 Assets File System
@@ -158,4 +158,41 @@
keyboards such as Gboard. If you use a language like Japanese, with Gboard, only a QWERTY
keyboard is displayed. This environment variable is queried each time the keyboard is displayed,
so it's possible to toggle the workaround on and off, as necessary.
+
+ \section1 Supported Environment Variables
+
+ The following environment variables are available for building applications with Qt for Android.
+
+ \table
+ \header
+ \li Variable
+ \li Description
+ \row
+ \li ANDROID_NDK_ROOT
+ \li Specifies where the Android NDK is located.
+ \row
+ \li ANDROID_SDK_ROOT
+ \li Specifies where the Android SDK is located.
+ \row
+ \li ANDROID_NDK_PLATFORM
+ \li Specifies the NDK API version; the default is android-21.
+ \row
+ \li ANDROID_API_VERSION
+ \li Specifies the Java API version, which can differ from your NDK API version
+ (ANDROID_NDK_PLATFORM). The default is the highest API version found on your
+ system.
+ \row
+ \li ANDROID_NDK_HOST
+ \li Specifies the host for which the toolchain was built.
+ For example, \c{linux-x86_64} for Linux, \c{windows{} for Windows, and
+ \c{darwin-x86_64} for macOS.
+ \note This variable is detected automatically. Normally, you don't have to change
+ it.
+ \row
+ \li ANDROID_BUILD_TOOLS_REVISION
+ \li Specifies the version of the SDK build tools used as part of the deployment process.
+ For example, 28.0.3.
+ \note Currently in the \c{build.gradle} script file, a known working value is
+ hardcoded; so you don't have to change it.
+ \endtable
*/
diff --git a/doc/src/platforms/android.qdoc b/doc/src/platforms/android.qdoc
index 0f107017f..a0580ea33 100644
--- a/doc/src/platforms/android.qdoc
+++ b/doc/src/platforms/android.qdoc
@@ -31,7 +31,7 @@
\brief Provides information about Android support in Qt.
\ingroup supportedplatform
-Qt for Android enables you to run Qt 5 applications Android devices.
+Qt for Android enables you to run Qt 5 applications on Android devices.
All Qt modules (essential and add-on) are supported except Qt \WebEngine,
Qt Serial Port, and the platform-specific ones (Qt Mac Extras,
Qt Windows Extras, and Qt X11 Extras).