diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2020-03-23 21:32:38 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2020-03-30 14:18:18 +0200 |
commit | dff7689a016d63fbaf1abc6f00a768dbfb8ec095 (patch) | |
tree | 6f0b67ce5d6dec279c0bbf62f014955cd0f25e32 /src/qml/qml/qml.pri | |
parent | 9f2c5aa2efd24507f4508889911873bc1c9d301e (diff) |
Add support for binding directly to QProperty instances
Avoid going through externally managed bindings and instead allocate a
more lightweight property binding. It's basically a
QQmlJavaScriptExpression and one pointer plus the overhead of
QPropertyBindingPrivate.
Change-Id: I1530330926d351b61f2b3bbad39301c628a8bef1
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/qml/qml.pri')
-rw-r--r-- | src/qml/qml/qml.pri | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/qml/qml.pri b/src/qml/qml/qml.pri index f937d4d0b3..6cca897e08 100644 --- a/src/qml/qml/qml.pri +++ b/src/qml/qml/qml.pri @@ -54,6 +54,7 @@ SOURCES += \ $$PWD/qqmlfile.cpp \ $$PWD/qqmlplatform.cpp \ $$PWD/qqmlbinding.cpp \ + $$PWD/qqmlpropertybinding.cpp \ $$PWD/qqmlabstracturlinterceptor.cpp \ $$PWD/qqmlapplicationengine.cpp \ $$PWD/qqmllistwrapper.cpp \ @@ -148,6 +149,7 @@ HEADERS += \ $$PWD/qqmlfile.h \ $$PWD/qqmlplatform_p.h \ $$PWD/qqmlbinding_p.h \ + $$PWD/qqmlpropertybinding_p.h \ $$PWD/qqmlextensionplugin_p.h \ $$PWD/qqmlabstracturlinterceptor.h \ $$PWD/qqmlapplicationengine_p.h \ |