qt_add_android_dynamic_feature_java_source_dirs
動的機能ビルドにJavaソースディレクトリを追加します。
このコマンドはQt6 パッケージのCore コンポーネントで定義されています:
find_package(Qt6 REQUIRED COMPONENTS Core)
このコマンドは Qt 6.11 で導入されました。
概要
qt_add_android_dynamic_feature_java_source_dirs(target [SOURCE_DIRS <directory1> <directory2> ...])
バージョンレスコマンドが無効になっている場合は、代わりにqt6_add_android_dynamic_feature_java_source_dirs() を使用してください。このコマンドと同じ引数セットをサポートしています。
説明
このコマンドは、動的な機能を持つ実行可能アプリをビルドする際に、追加の Java/Kotlin ソースディレクトリをtarget 実行ファイルに追加します。qt6_add_android_dynamic_features()と組み合わせて使用します。
© 2026 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.