aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qml.pro
diff options
context:
space:
mode:
authorAnton Kreuzkamp <anton.kreuzkamp@kdab.com>2017-04-26 16:31:48 +0200
committerAnton Kreuzkamp <anton.kreuzkamp@kdab.com>2017-08-13 04:07:30 +0000
commit17513266b81e88b84fda250734f07c94a198fabc (patch)
tree2bb498ba41df15971035fb040bf4c07e8369fbc3 /tests/auto/qml/qml.pro
parent041c8d28eaa0e516a0c6502fa801781aa8ebe5a6 (diff)
Add API to learn about QQmlBinding's dependencies
Adds a method `dependencies()` to QQmlBinding, that returns a QVector<QQmlProperty> 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 <simon.hausmann@qt.io>
Diffstat (limited to 'tests/auto/qml/qml.pro')
-rw-r--r--tests/auto/qml/qml.pro3
1 files changed, 2 insertions, 1 deletions
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) {