diff options
author | Cristian Le <[email protected]> | 2025-06-24 11:20:18 +0200 |
---|---|---|
committer | Cristian Le <[email protected]> | 2025-06-24 11:36:16 +0200 |
commit | 978150350822497b71347302d7cc6e235a5eedf8 (patch) | |
tree | b7090c3db9c094e84e9518602035927130abf43d /src/remoteobjects/Qt6RemoteObjectsMacros.cmake | |
parent | 72dff905a0a7c6e56be4851d823491e74d252563 (diff) |
Migrate implementations that set `GENERATED` source property
Task-number: QTBUG-125077
Pick-to: 6.9 6.10
Change-Id: Ib08053902fb2158eedd97b69e1e7a830b77d2a0e
Reviewed-by: Alexandru Croitor <[email protected]>
Diffstat (limited to 'src/remoteobjects/Qt6RemoteObjectsMacros.cmake')
-rw-r--r-- | src/remoteobjects/Qt6RemoteObjectsMacros.cmake | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/remoteobjects/Qt6RemoteObjectsMacros.cmake b/src/remoteobjects/Qt6RemoteObjectsMacros.cmake index 3335570..0fe425f 100644 --- a/src/remoteobjects/Qt6RemoteObjectsMacros.cmake +++ b/src/remoteobjects/Qt6RemoteObjectsMacros.cmake @@ -79,11 +79,12 @@ function(_qt_internal_add_repc_files type target) # The generated header file needs to be manually moc'ed (without using AUTOMOC) and then # added as source to compile into the target. qt6_wrap_cpp(qtro_moc_files "${outfile}" TARGET "${target}" ${extra_moc_options}) - set_source_files_properties("${outfile}" PROPERTIES - GENERATED TRUE - SKIP_AUTOGEN ON) list(APPEND outfiles ${qtro_moc_files}) endforeach() + _qt_internal_set_source_file_generated( + SOURCES ${outfiles} + SKIP_AUTOGEN + ) target_sources(${target} PRIVATE ${outfiles}) endfunction() |