このページでは

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() ` を使用してください。このコマンドは、本コマンドと同じ引数セットをサポートしています。

説明

このコマンドは、動的機能を使用して実行可能アプリをビルドする際、target 実行ファイルに追加の Java/Kotlin ソースディレクトリを追加します。qt_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.