diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-08-10 10:17:53 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-08-20 11:59:11 +0000 |
commit | 14bb6fb6d8e1fbde317111b57e42e3a380927d8b (patch) | |
tree | a7d85dd83aa8b72528c053733245df4a5fd5a723 /src/core/nodes/nodes.pri | |
parent | 9bf2094621e3fba71710f47d7121f1182c3f3337 (diff) |
Create proper Quick extended classes in scene loaders
This allows exploring the loaded subtrees from QML/Javascript code. The
C++ classes are not suitable for this as they lack properties that involve
QML specifics.
The assimp (QML) example is updated to show how to do this (with the help
of some C++ code). Say hello to the pulsating torus and the rotating monkey!
Change-Id: I60401272105df5d72f4b7afebe26a3271e92f19e
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/core/nodes/nodes.pri')
-rw-r--r-- | src/core/nodes/nodes.pri | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/nodes/nodes.pri b/src/core/nodes/nodes.pri index 5edfb4d82..f888ba6f7 100644 --- a/src/core/nodes/nodes.pri +++ b/src/core/nodes/nodes.pri @@ -10,7 +10,8 @@ HEADERS += \ $$PWD/qbackendnode_p.h \ $$PWD/qbackendnode.h \ $$PWD/qnodeid.h \ - $$PWD/qnodevisitor.h + $$PWD/qnodevisitor.h \ + $$PWD/qabstractnodefactory.h SOURCES += \ $$PWD/qnode.cpp \ @@ -18,5 +19,6 @@ SOURCES += \ $$PWD/qentity.cpp \ $$PWD/qbackendnode.cpp \ $$PWD/qnodeid.cpp \ - $$PWD/qnodevisitor.cpp + $$PWD/qnodevisitor.cpp \ + $$PWD/qabstractnodefactory.cpp |