aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/qml/Qt6QmlMacros.cmake5
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
)