aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlcompiler/qqmljsfunctioninitializer.cpp
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@qt.io>2021-11-30 19:34:26 +1100
committerFabian Kosmale <fabian.kosmale@qt.io>2021-12-13 18:14:45 +0100
commitc6ba40f05ab35b8f9e5c495d7114a723a0ce4b85 (patch)
treeda4773df2356e6dfc0d2e0c0ea92168e28c82b2e /src/qmlcompiler/qqmljsfunctioninitializer.cpp
parentb16619cbf721a30c704d9ff4390f4cb64d9dd242 (diff)
Provide a function for querying QML module details for deployment
The new qt6_query_qml_module() command allows the caller to obtain all necessary details for deploying a QML module (just the one module, not any other modules it might import). The QML_FILES and RESOURCES are file lists, and their corresponding ..._DEPLOY_PATHS and ..._PREFIX_OVERRIDES lists will be of the exact same length. The ..._DEPLOY_PATHS indicate where to copy the files below the module's target path, which itself should be below the base install location for QML modules. An empty list item means no deploy path can be safely determined for that item because a custom PREFIX override has been used when adding it. The ..._PREFIX_OVERRIDES list records the prefix override for each file in its associated list. An empty list item means there is no override. An empty entry in ..._DEPLOY_PATHS should correspond to a non-empty entry in ..._PREFIX_OVERRIDES and vice versa. Fixes: QTBUG-95024 Pick-to: 6.3 Change-Id: I7ba3396934abac7d951cd3b95701cd58d9ca60ec Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/qmlcompiler/qqmljsfunctioninitializer.cpp')
0 files changed, 0 insertions, 0 deletions