qbs setup-android [--settings-dir <directory>] [--ndk-dir <directory>] [--sdk-dir <directory>] [--qt-dir <directory>] <profile name>
Creates Qbs profiles for Android SDK and NDK installations.
If a Qt path is given, these additional profiles will be suitable for building Qt binaries for the respective architecture, if the Qt installation has support for it.
Reads all settings (such as profile information) from the specified
<directory>. If the directory does not exist, it will be created.
The default value is system-specific. For example:
<directory> that contains an Android NDK.
<directory> that contains an Android SDK.
<directory> that contains a Qt version.
Displays help for the command.
Creates a profile with the name
oreo that specifies the target platforms' architectures and operating systems, as well as the toolchains available:
qbs setup-android oreo
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.