Doc: Update info on Android settings
Fixes: QTCREATORBUG-26672 Change-Id: Ifaf9f28b485f965302bca9aa2ec2a308b96d4b34 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 9.8 KiB |
BIN
doc/qtcreator/images/qtcreator-android-sdk-manager-arguments.png
Normal file
|
After Width: | Height: | Size: 8.8 KiB |
|
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 22 KiB |
@@ -1,6 +1,6 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
**
|
**
|
||||||
** Copyright (C) 2021 The Qt Company Ltd.
|
** Copyright (C) 2022 The Qt Company Ltd.
|
||||||
** Contact: https://www.qt.io/licensing/
|
** Contact: https://www.qt.io/licensing/
|
||||||
**
|
**
|
||||||
** This file is part of the Qt Creator documentation.
|
** This file is part of the Qt Creator documentation.
|
||||||
@@ -113,8 +113,11 @@
|
|||||||
The locked items were installed by the SDK Manager,
|
The locked items were installed by the SDK Manager,
|
||||||
and can only be modified from the \uicontrol {SDK Manager} tab.
|
and can only be modified from the \uicontrol {SDK Manager} tab.
|
||||||
For more information, see \l{Managing Android NDK Packages}.
|
For more information, see \l{Managing Android NDK Packages}.
|
||||||
\li In the \uicontrol {Android OpenSSL} group, set the path to the
|
\li Select the \uicontrol {Automatically create kits for Android tool chains}
|
||||||
prebuilt OpenSSL libraries.
|
check box to allow \QC to create the kits for you. \QC displays a
|
||||||
|
warning if it cannot find a suitable Qt version.
|
||||||
|
\li Optionally, in the \uicontrol {Android OpenSSL Settings} group, set
|
||||||
|
the path to the prebuilt OpenSSL libraries.
|
||||||
|
|
||||||
For Qt applications that require OpenSSL support, \QC allows to
|
For Qt applications that require OpenSSL support, \QC allows to
|
||||||
quickly add the \l {Android OpenSSL support} to your project.
|
quickly add the \l {Android OpenSSL support} to your project.
|
||||||
@@ -122,9 +125,6 @@
|
|||||||
\li Select \uicontrol {Download OpenSSL} to download the OpenSSL
|
\li Select \uicontrol {Download OpenSSL} to download the OpenSSL
|
||||||
repository to the selected path. If the automatic download fails,
|
repository to the selected path. If the automatic download fails,
|
||||||
the download web page opens for manual download.
|
the download web page opens for manual download.
|
||||||
\li Select the \uicontrol {Automatically create kits for Android tool chains}
|
|
||||||
check box to allow \QC to create the kits for you. \QC displays a
|
|
||||||
warning if it cannot find a suitable Qt version.
|
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
\section2 Manual Setup
|
\section2 Manual Setup
|
||||||
@@ -185,6 +185,9 @@
|
|||||||
To manually download NDKs, select \inlineimage icons/online.png
|
To manually download NDKs, select \inlineimage icons/online.png
|
||||||
.
|
.
|
||||||
|
|
||||||
|
To use the selected NDK version for all Qt versions by default, select
|
||||||
|
\uicontrol {Make Default}.
|
||||||
|
|
||||||
To add custom NDK paths manually to the global list of NDKs, select
|
To add custom NDK paths manually to the global list of NDKs, select
|
||||||
\uicontrol Add. This creates custom tool chains and debuggers associated
|
\uicontrol Add. This creates custom tool chains and debuggers associated
|
||||||
to that NDK. However, you have to manually create a kit that uses the
|
to that NDK. However, you have to manually create a kit that uses the
|
||||||
@@ -206,8 +209,12 @@
|
|||||||
|
|
||||||
\image qtcreator-android-sdk-manager.png "Android SDK Manager"
|
\image qtcreator-android-sdk-manager.png "Android SDK Manager"
|
||||||
|
|
||||||
To filter the packages, select \uicontrol Available, \uicontrol Installed,
|
You can show packages for the release channel you select in
|
||||||
or \uicontrol All in \uicontrol {Show Packages}.
|
\uicontrol {Show Packages} > \uicontrol Channel. Common channel IDs include
|
||||||
|
\uicontrol Stable, \uicontrol Beta, \uicontrol Dev, and \uicontrol Canary.
|
||||||
|
To show and update also obsolete packages, select
|
||||||
|
\uicontrol {Include obsolete}. To filter packages, select
|
||||||
|
\uicontrol Available, \uicontrol Installed, or \uicontrol All.
|
||||||
|
|
||||||
To update the installed Android SDK packages, select
|
To update the installed Android SDK packages, select
|
||||||
\uicontrol {Update Installed}. Select the packages to update, and then
|
\uicontrol {Update Installed}. Select the packages to update, and then
|
||||||
@@ -218,6 +225,8 @@
|
|||||||
\uicontrol {SDK Manager arguments} field. The available arguments are listed
|
\uicontrol {SDK Manager arguments} field. The available arguments are listed
|
||||||
and described in \uicontrol {Available arguments}.
|
and described in \uicontrol {Available arguments}.
|
||||||
|
|
||||||
|
\image qtcreator-android-sdk-manager-arguments.png "Android SDK Manager Arguments dialog"
|
||||||
|
|
||||||
\section1 Managing Android Virtual Devices (AVD)
|
\section1 Managing Android Virtual Devices (AVD)
|
||||||
|
|
||||||
The available AVDs are listed in \uicontrol Tools > \uicontrol Options
|
The available AVDs are listed in \uicontrol Tools > \uicontrol Options
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
**
|
**
|
||||||
** Copyright (C) 2021 The Qt Company Ltd.
|
** Copyright (C) 2022 The Qt Company Ltd.
|
||||||
** Contact: https://www.qt.io/licensing/
|
** Contact: https://www.qt.io/licensing/
|
||||||
**
|
**
|
||||||
** This file is part of the Qt Creator documentation.
|
** This file is part of the Qt Creator documentation.
|
||||||
@@ -128,8 +128,8 @@
|
|||||||
\section2 Specifying Settings for Packages
|
\section2 Specifying Settings for Packages
|
||||||
|
|
||||||
To specify settings for the \c androiddeployqt tool, select
|
To specify settings for the \c androiddeployqt tool, select
|
||||||
\uicontrol Projects > \uicontrol Build > \uicontrol {Build Android APK} >
|
\uicontrol Projects > \uicontrol {Build & Run} > \uicontrol Build >
|
||||||
\uicontrol Details.
|
\uicontrol {Build Android APK} > \uicontrol Details.
|
||||||
|
|
||||||
\image qtcreator-android-build-apk-step.png "Build Android APK step"
|
\image qtcreator-android-build-apk-step.png "Build Android APK step"
|
||||||
|
|
||||||
@@ -166,9 +166,9 @@
|
|||||||
distribution to the Google Play store, create an AAB by selecting
|
distribution to the Google Play store, create an AAB by selecting
|
||||||
the \uicontrol {Build Android App Bundle (*.aab)} check box.
|
the \uicontrol {Build Android App Bundle (*.aab)} check box.
|
||||||
|
|
||||||
When building with CMake, you can view the selected ABIs in the
|
When building with CMake, you can view the selected ABIs in
|
||||||
\uicontrol {Initial CMake parameters} field in the \uicontrol CMake section.
|
\uicontrol {Initial Configuration} in the \uicontrol CMake section.
|
||||||
You can set additional ABIs as values of the ANDROID_ABI key:
|
You can set additional ABIs as values of the \c ANDROID_ABI key:
|
||||||
|
|
||||||
\image qtcreator-android-cmake-settings.png "CMake settings for building AABs"
|
\image qtcreator-android-cmake-settings.png "CMake settings for building AABs"
|
||||||
|
|
||||||
|
|||||||