From 17513266b81e88b84fda250734f07c94a198fabc Mon Sep 17 00:00:00 2001 From: Anton Kreuzkamp Date: Wed, 26 Apr 2017 16:31:48 +0200 Subject: Add API to learn about QQmlBinding's dependencies Adds a method `dependencies()` to QQmlBinding, that returns a QVector of all properties the binding depends on. The API is meant to be used in debugging tools (e.g. in GammaRay). Also adds a public method subBindings() to QQmlValueTypeProxyBinding in order to be able to access their dependencies. Change-Id: Ib833703ec9e632661626c4532b8d73997f38e62b Reviewed-by: Simon Hausmann --- tests/auto/qml/qml.pro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/auto/qml/qml.pro') diff --git a/tests/auto/qml/qml.pro b/tests/auto/qml/qml.pro index 12a8bd3829..69af3cd13b 100644 --- a/tests/auto/qml/qml.pro +++ b/tests/auto/qml/qml.pro @@ -72,7 +72,8 @@ PRIVATETESTS += \ qqmlimport \ qqmlobjectmodel \ qv4mm \ - ecmascripttests + ecmascripttests \ + bindingdependencyapi } qtHaveModule(widgets) { -- cgit v1.2.3