- Qt 6.9
- Qt Core
- CMake Target Properties in Qt6 Core
- QT_ANDROID_EXTRA_PLUGINS
- Qt 6.9.3 Reference Documentation

# QT_ANDROID_EXTRA_PLUGINS

Extra Qt plugins to deploy with the target.

This property was introduced in Qt 6.0.

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

Specifies a path to C++ plugins or resources that your application has to bundle but that cannot be delivered through the assets system, such as QML plugins. With this variable, androiddeployqt will make sure everything is packaged and deployed properly.

`QT_ANDROID_EXTRA_PLUGINS` must point to the directory where the extra plugin(s) are built. In addition, the build directory structure must follow a naming convention similar to Qt plugins, that is, plugins/<plugin name>. `QT_ANDROID_EXTRA_PLUGINS` should point to the plugins part of that path.

The plugins libraries should have the name format libplugins_<type>_<name>_<abi>.so. This will ensure that the correct name mangling is applied to the plugin library.

See also qt_android_generate_deployment_settings().