Auf dieser Seite

qt_add_android_dynamic_feature_java_source_dirs

Fügt Java-Quellverzeichnisse zu einem dynamischen Feature-Build hinzu.

Der Befehl ist in der Core Komponente des Qt6 Pakets definiert, das so geladen werden kann:

find_package(Qt6 REQUIRED COMPONENTS Core)

Dieser Befehl wurde in Qt 6.11 eingeführt.

Synopse

qt_add_android_dynamic_feature_java_source_dirs(target [SOURCE_DIRS <directory1> <directory2> ...])

Wenn versionslose Befehle deaktiviert sind, verwenden Sie stattdessen qt6_add_android_dynamic_feature_java_source_dirs(). Es unterstützt den gleichen Satz an Argumenten wie dieser Befehl.

Beschreibung

Der Befehl fügt zusätzliche Java/Kotlin-Quellverzeichnisse zum target Executable hinzu, wenn die ausführbare Anwendung mit dynamischer Funktionalität erstellt wird. Sollte in Verbindung mit qt6_add_android_dynamic_features() verwendet werden.

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