diff --git a/cmake/QtPublicPluginHelpers.cmake b/cmake/QtPublicPluginHelpers.cmake index 8c98852c49f..ce8ddf0bee2 100644 --- a/cmake/QtPublicPluginHelpers.cmake +++ b/cmake/QtPublicPluginHelpers.cmake @@ -195,6 +195,9 @@ function(__qt_internal_add_static_plugin_import_macro __qt_internal_get_static_plugin_init_target_name("${plugin_target}" plugin_init_target) set(objs_genex "$") + # TODO: Replace the target_sources call here with the more generalized approach that will be + # added to __qt_propagate_generated_resource (the one that determines whether to use + # target_sources or target_link_libraries depending on the CMake version). target_sources(${QT_CMAKE_EXPORT_NAMESPACE}::${plugin_target} INTERFACE "${objs_genex}") endfunction()