QT_QML_ROOT_PATH

Overrides the location of the application's qml directory.

This property was introduced in Qt 6.1.

注意: This property is in technology preview and may change in future releases.

This property is currently only used when generating a deployment settings file for Android. If the property is set, it specifies the path to the application's qml directory. If it is not set, the SOURCE_DIR property of the target will be used instead.

另请参阅 qt_android_generate_deployment_settings() .