aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/Qt6QmlMacros.cmake
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2020-05-18 19:55:25 +0200
committerUlf Hermann <ulf.hermann@qt.io>2020-05-26 14:04:43 +0200
commit6d3aae3cf47fbf21bd27eda7a249c2a23308156e (patch)
tree02dd24091b28bfc05fa60185bf63b2daf36d459b /src/qml/Qt6QmlMacros.cmake
parentfe42d2ea631b82974dbccbe65c6f039b837c9150 (diff)
Remove --dependencies option from qmltyperegistrar
We don't need to list the dependencies in the qmltypes files. The information given in the qmldir file should be enough. Ultimately, we should get rid of all hidden dependencies. Task-number: QTBUG-84286 Change-Id: Iaf67d476b449215715270043591d8c4858104ea6 Reviewed-by: Christian Kamm <mail@ckamm.de> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/Qt6QmlMacros.cmake')
-rw-r--r--src/qml/Qt6QmlMacros.cmake5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/qml/Qt6QmlMacros.cmake b/src/qml/Qt6QmlMacros.cmake
index 1e3ac50b57..3b384f5dae 100644
--- a/src/qml/Qt6QmlMacros.cmake
+++ b/src/qml/Qt6QmlMacros.cmake
@@ -548,11 +548,6 @@ function(qt6_qml_type_registration target)
"@${foreign_types_file}"
)
- set(dependencies_json_file "${target_source_dir}/dependencies.json")
- if (EXISTS ${dependencies_json_file})
- list(APPEND cmd_args --dependencies=${dependencies_json_file})
- endif()
-
if (TARGET ${target}Private)
list(APPEND cmd_args --private-includes)
endif()