qt_add_android_dynamic_feature_java_source_dirs
Adds Java source directories to a dynamic feature build.
The command is defined in the Core component of the Qt6 package, which can be loaded like so:
find_package(Qt6 REQUIRED COMPONENTS Core)
This command was introduced in Qt 6.11.
Synopsis
qt_add_android_dynamic_feature_java_source_dirs(target [SOURCE_DIRS <directory1> <directory2> ...])
If versionless commands are disabled, use qt6_add_android_dynamic_feature_java_source_dirs() instead. It supports the same set of arguments as this command.
Description
The command adds extra Java/Kotlin source directories to the target executable when building the executable app with dynamic feature functionality. To be used in conjunction with qt6_add_android_dynamic_features().
© 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.