Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

QT_ANDROID_PACKAGE_SOURCE_DIR

Path to a custom Android package template.

This property was introduced in Qt 6.0.

Note: This property is in technology preview and may change in future releases.

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().

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded