- Qt 6.9
- Qt Core
- CMake Target Properties in Qt6 Core
- QT_ANDROID_PACKAGE_SOURCE_DIR
- Qt 6.9.2 Reference Documentation

# QT_ANDROID_PACKAGE_SOURCE_DIR

Path to a custom Android package template.

This property was introduced in Qt 6.0.

Note: This property is used only if targeting the Android platform.

Specifies the path for a custom Android package template. The Android package template contains:

- AndroidManifest.xml file
- build.gradle file and other Gradle scripts
- res/values/libs.xml file

The path specified by this variable can contain custom Java classes under `src` directory. By default, the androiddeployqt tool copies the application template from the Qt for Android installation path into your project's build directory, then it copies the contents of the path specified by this variable on top of that, overwriting any existing files. For instance, you can make a custom `AndroidManifest.xml` for your application, then place this directly into the directory specified by this variable.

See also qt_android_generate_deployment_settings().