We should rename / combine the 2 functions called qt6_enable_object_libraries_finalizer_mode and qt_enable_import_plugins_finalizer_mode into a single function that takes a list of 'contexts' where finalizer mode should be enabled / disabled.
Before we do that, we should wait a bit until CMake 3.21.0 is released, because that means we can at least get rid of qt6_enable_object_libraries_finalizer_mode. In this case, we still want a more generic 'contexts' taking function.
Note if 3.21.0 is released soon enough, this will depend on
QTBUG-95018 being done first.
|For Gerrit Dashboard: QTBUG-95169|
|363442,12||CMake: Remove qt6_enable_object_libraries_finalizer_mode||dev||qt/qtbase||Status: MERGED||+2||0|
|364061,3||CMake: Remove qt6_enable_object_libraries_finalizer_mode||6.2||qt/qtbase||Status: MERGED||+2||0|