Revert "Revert "CMake: Expose generated resource files to IDEs""

This reverts commit 6a18bc8090.

Reason for revert: The reason for the original revert has been fixed
in c146d25a87.

Change-Id: I996960633dc75a7ef3ae12ab7f759658af7932c5
Reviewed-by: Xavier BESSON <developer@xavi-b.fr>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Jörg Bornemann 2023-01-18 08:45:43 +00:00
parent 47abdabe2c
commit 97165dbfa1

View File

@ -1888,6 +1888,7 @@ function(_qt_internal_process_resource target resourceName)
return()
endif()
set(generatedResourceFile "${CMAKE_CURRENT_BINARY_DIR}/.rcc/${resourceName}.qrc")
_qt_internal_expose_source_file_to_ide(${target} ${generatedResourceFile})
# Generate .qrc file: