summaryrefslogtreecommitdiffstats
path: root/cmake/QtPlugins.cmake.in
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@qt.io>2021-02-15 18:59:08 +1100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-02-24 22:53:01 +0000
commit4bf51e4ca91e6e927f1b539c33dd8f6e7baada82 (patch)
treeeaaae84f2fa5e0b132491f33b3bbb662763279ea /cmake/QtPlugins.cmake.in
parent100881d8868d4cfe81330d06bdb891e70161f1cc (diff)
qt6_finalize_executable(): Enable finalizers to be set per-target
Some plugins need to append additional processing to targets that use them. This is most commonly needed for static builds to identify additional plugins that need to be linked, but which cannot be determined automatically by CMake as part of its transitive dependency handling. Check for finalizers on directly linked targets as a way to help automate common scenarios. Because we need to lookup dependency targets and these may have visibility limited to the depender target's scope, we now formally document that finalizers should be called from the same scope as the one in which the target was created. This was loosely expected before, but is now made explicit. Task-number: QTBUG-90819 Task-number: QTBUG-86669 Change-Id: I065a3f3a4ab6eeff6a98a655835427949e2fe0f1 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit 279ebfd487a8e43a65f50f273c6b6ee8cdbec0a4) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'cmake/QtPlugins.cmake.in')
0 files changed, 0 insertions, 0 deletions