diff options
author | Määttä Antti <antti.maatta@qt.io> | 2017-11-14 09:57:33 +0200 |
---|---|---|
committer | Antti Määttä <antti.maatta@qt.io> | 2017-11-14 12:26:45 +0000 |
commit | fb0d5d7d4685d092e887b7c0f1e8993b8d3e0bf7 (patch) | |
tree | 594550006a0f3dbc7009d2a7721a8101353fb8c0 /src/Runtime/Qt3DSRuntimeStatic | |
parent | 8be3eebadf0baa25d2d5d218a51227754e2b9fb8 (diff) |
Cleanup QML behavior scripts
Add Qt3DSQmlBehavior in QtStudio3D.Behavior, which can only be used from
qml behavior scripts. Impement onInitialize, onUpdate and others as
signals. Implement predefined function inside the new type and remove the
Qt3DSRuntime context type.
Task-number: QT3DS-408
Change-Id: Iefb1d8c39afa5f09a625b6f9131ddc790fa1e4a3
Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'src/Runtime/Qt3DSRuntimeStatic')
-rw-r--r-- | src/Runtime/Qt3DSRuntimeStatic/Qt3DSRuntimeStatic.pro | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Runtime/Qt3DSRuntimeStatic/Qt3DSRuntimeStatic.pro b/src/Runtime/Qt3DSRuntimeStatic/Qt3DSRuntimeStatic.pro index 2cee0221..6a250cfb 100644 --- a/src/Runtime/Qt3DSRuntimeStatic/Qt3DSRuntimeStatic.pro +++ b/src/Runtime/Qt3DSRuntimeStatic/Qt3DSRuntimeStatic.pro @@ -692,11 +692,13 @@ HEADERS += \ # Runtime HEADERS += \ ../Source/Runtime/Include/RuntimePrefix.h \ - ../Source/Runtime/Include/q3dsqmlscript.h + ../Source/Runtime/Include/q3dsqmlscript.h \ + ../Source/Runtime/Include/q3dsqmlbehavior.h SOURCES += \ ../Source/Runtime/Source/RuntimePrefix.cpp \ - ../Source/Runtime/Source/q3dsqmlscript.cpp + ../Source/Runtime/Source/q3dsqmlscript.cpp \ + ../Source/Runtime/Source/q3dsqmlbehavior.cpp # System SOURCES += \ |