QT_ANDROID_EXTRA_PLUGINS

Extra Qt plugins to deploy with the target.

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

© 2023 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.