qt_android_generate_java_qtquickview_contents

QtQuickViewContent ベースのクラスを生成できるようにします。

この変数は Qt 6.8 で導入されました。

注意: この変数はテクノロジープレビューであり、将来のリリースで変更される可能性があります。

注意: この変数は、Androidプラットフォームをターゲットにしている場合にのみ使用されます。

この変数は、ターゲットアプリケーションのQMLコンポーネントのJavaコード生成を有効にします。生成されたコードは結果のパッケージに含まれます。生成されるクラスのJavaパッケージ名はAndroidアプリのパッケージと同じになります。パッケージ名のリーフ部分がターゲットの実行ファイルと同じでない場合、 大文字のターゲット実行ファイルと同じ名前の静的クラスが、 Javaクラスを含むすべてのQMLモジュールを囲みます。各QMLモジュールのクラスには、そのモジュールのQMLコンポーネントを表すQtQuickViewContent拡張クラスが含まれます。

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