qt_android_extra_plugins
与目标机一起部署的额外 Qt 插件。
此属性在 Qt 6.0 中引入。
注意: 该属性仅用于 Android 平台。
指定 C++ 插件或资源的路径,这些插件或资源是应用程序必须捆绑的,但不能通过资产系统交付,如 QML 插件。有了这个变量,androiddeployqt将确保一切都已打包并正确部署。
QT_ANDROID_EXTRA_PLUGINS
必须指向构建额外插件的目录。此外,构建目录结构必须遵循类似 Qt XML 插件的命名约定,即plugins/<插件名称>。 QT_ANDROID_EXTRA_PLUGINS
应指向该路径的插件部分。
插件库的名称格式应为libplugins_<type>_<name>_<abi>.so。这将确保插件库应用正确的名称混淆。
© 2025 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.