summaryrefslogtreecommitdiffstats
path: root/examples/widgets/tools/i18n
diff options
context:
space:
mode:
authorLeander Beernaert <leander.beernaert@qt.io>2020-02-07 14:12:27 +0100
committerLeander Beernaert <leander.beernaert@qt.io>2020-02-10 15:07:34 +0000
commitc431e2d33c2b13dee8b43a08c267c20ec1ae9654 (patch)
tree16e788115741efde11f35319c9b6b152c066ac70 /examples/widgets/tools/i18n
parent360d9fba237906e90559bf3477a39caf392af415 (diff)
Refactor Metatypes dependency propagation
Every metatypes.json files is now added as an INTERFACE source file to a target. This enables us later to correctly collect all the metatypes.json files from dependent targets. This information is also correctly exported via export()/install(). To avoid the metatypes.json appearing in every target's source list, the file path is wrapped in a generator expression which will only be evaluated when the consuming target has the property QT_CONSUMES_METATYPES set to true. At the moment this is limited to targets which need to interact with qmltyperegistrar. Change-Id: I0ffebcd069a923383f7ed11cde2c94ecf2fb13f3 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/widgets/tools/i18n')
0 files changed, 0 insertions, 0 deletions