diff options
author | Andrei Golubev <andrei.golubev@qt.io> | 2022-02-22 16:39:10 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2024-04-17 11:53:13 +0200 |
commit | 0f5f1bfeffc685bb1917fde5de2c4bcc59385e0a (patch) | |
tree | 0ad3fe450709fb644843e403ec47dee3ec625ac0 /tests/auto/corelib/thread | |
parent | 674dfdf226542cc33129899df9833847cb6f4629 (diff) |
Extract metatype information as part of library finalization
Make qt_finalize_target call qt6_extract_metatypes() on any library
targets if the finalization is deferred and the target uses automoc.
This makes sure the metatype information is always available when
necessary (e.g. in QML's foreign types setting).
[ChangeLog][CMake][Important Behavior Changes] With CMake 3.19 or later
qt_extract_metatypes() is automatically called during target
finalization for libraries that use automoc now. This has no
effect if you've already manually called qt_extract_metatypes() before,
but it does make sure that the metatypes are also generated if you
haven't.
Task-number: QTBUG-121199
Fixes: QTBUG-101143
Fixes: QTBUG-99051
Change-Id: If72ce5887a9cd71a4c15e9509b2eaab5af271adf
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'tests/auto/corelib/thread')
0 files changed, 0 insertions, 0 deletions