Collect QT_QML_ROOT_PATH based from the project resources
Use the _qt_internal_collect_qml_root_paths function to collect qml files from the resources. The function is called only if Qml module is found. Pick-to: 6.2 Task-number: QTBUG-93340 Change-Id: I2b5f51e3d7fb8aa82f46e88b2aac5e52bf0930d5 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>bb10
parent
9a602e68cf
commit
3a9b5162e6
|
|
@ -1738,6 +1738,12 @@ function(_qt_internal_process_resource target resourceName)
|
|||
endforeach()
|
||||
endif()
|
||||
|
||||
if(ANDROID)
|
||||
if(COMMAND _qt_internal_collect_qml_root_paths)
|
||||
_qt_internal_collect_qml_root_paths(${target} ${resource_files})
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(NOT rcc_PREFIX)
|
||||
get_target_property(rcc_PREFIX ${target} QT_RESOURCE_PREFIX)
|
||||
if (NOT rcc_PREFIX)
|
||||
|
|
|
|||
Loading…
Reference in New Issue