aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/scenegraph/sgengine/sgengine.pro
diff options
context:
space:
mode:
authorJocelyn Turcotte <jocelyn.turcotte@digia.com>2014-07-01 19:19:56 +0200
committerJocelyn Turcotte <jocelyn.turcotte@digia.com>2014-08-01 13:49:46 +0200
commit78923902089d0a70c096e5f47f42e24fbcd4fa56 (patch)
treecdf04742cba0cf0ae956129e80996f9eef51c070 /examples/quick/scenegraph/sgengine/sgengine.pro
parent6e70fa5ee8d0433dbb0d42378bce10db18b05fab (diff)
Expose the scene graph publically through a QSGEngine class
This change wraps QSGRenderContext and QSGContext in a new QSGEngine class, and expose a public interface of QSGRenderer through a QSGAbstractRenderer to make it usable on a standalone window or FBO. Change-Id: I2d41187472424f5ea64650a006bcd61f2711f6b9 Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Diffstat (limited to 'examples/quick/scenegraph/sgengine/sgengine.pro')
-rw-r--r--examples/quick/scenegraph/sgengine/sgengine.pro11
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/quick/scenegraph/sgengine/sgengine.pro b/examples/quick/scenegraph/sgengine/sgengine.pro
new file mode 100644
index 0000000000..c6507a4982
--- /dev/null
+++ b/examples/quick/scenegraph/sgengine/sgengine.pro
@@ -0,0 +1,11 @@
+QT += quick
+
+HEADERS += window.h
+SOURCES += window.cpp main.cpp
+RESOURCES += \
+ sgengine.qrc \
+ ../../shared/shared.qrc
+
+# install
+target.path = $$[QT_INSTALL_EXAMPLES]/quick/scenegraph/sgengine
+INSTALLS += target