diff options
author | Craig Scott <craig.scott@qt.io> | 2021-09-14 12:28:56 +1000 |
---|---|---|
committer | Craig Scott <craig.scott@qt.io> | 2021-09-17 14:42:13 +1000 |
commit | d8b5d90baf7d3638d3d1114d6ca0acdd51437c47 (patch) | |
tree | c63eff54b528c55e74db4235f689641234584e5e /src/qml/Qt6QmlMacros.cmake | |
parent | 8f11948f38dc2d0fb5396ed126d89e76fbc18d57 (diff) |
Don't add .qml files as a source twice
Amends de0c1c8a4c834dcc080d1b374186a82cd86921ca
Pick-to: 6.2
Change-Id: I08bd38c5ca3cda7debf8049d64b4d2fb64ce3491
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/Qt6QmlMacros.cmake')
-rw-r--r-- | src/qml/Qt6QmlMacros.cmake | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/qml/Qt6QmlMacros.cmake b/src/qml/Qt6QmlMacros.cmake index a7f5b39429..79c6342c86 100644 --- a/src/qml/Qt6QmlMacros.cmake +++ b/src/qml/Qt6QmlMacros.cmake @@ -1575,10 +1575,7 @@ function(qt6_target_qml_sources target) "$<$<BOOL:${types_file}>:${types_file}>" ) - target_sources(${target} PRIVATE - ${compiled_file} - ${qml_file_src} # Make the original qml file show up under this target in the IDE - ) + target_sources(${target} PRIVATE ${compiled_file}) set_source_files_properties(${compiled_file} PROPERTIES SKIP_AUTOGEN ON ) |