QT_ANDROID_GENERATE_JAVA_QTQUICKVIEW_CONTENTS

Enables the generation of QtQuickViewContent-based classes.

This variable was introduced in Qt 6.8.

Note: This variable is in technology preview and may change in future releases.

Note: This variable is used only if targeting the Android platform.

This variable enables Java code generation for QML components of the target application. The generated code will be included in the resulting package. The Java package name of generated classes will be the same as the Android app package. If the leaf part of the package name is not the same as the target executable, an extra static class with the same name as the capitalized target executable will surround all QML modules enclosing Java classes. Each QML module class, again in a capitalized form, will contain QtQuickViewContent extension classes that represent QML components of that module.

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