qt_qml_root_path

覆盖应用程序 qml 目录的位置。

该属性在 Qt 6.1 中引入。

注意: 此属性为技术预览版,在未来版本中可能会更改。

该属性目前仅在为 Android 生成部署设置文件时使用。如果设置了该属性,它将指定应用程序qml 目录的路径。如果未设置,则将使用目标的SOURCE_DIR 属性。

另请参阅 qt_android_generate_deployment_settings()

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