aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/scenegraph.pri
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@theqtcompany.com>2016-02-13 19:52:57 +0100
committerLaszlo Agocs <laszlo.agocs@theqtcompany.com>2016-02-15 05:32:31 +0000
commit3b6ebe6338747b4b24558c9b5f2c9702f4cce1be (patch)
treeb0186897ff0295f06bee3a1086dde3acc4a710f3 /src/quick/scenegraph/scenegraph.pri
parentb6ff963362955f63ca35daa0268d8fde93229997 (diff)
Make it possible to have built-in adaptations
In addition to QMLSCENE_DEVICE, start supporting an env var named QT_QUICK_BACKEND. This is more suitable for general use. Besides plugin-based adaptations, some built-in ones are anticipated as well. Therefore, add support for shipping custom contexts as part of the scenegraph. For test purposes, a dummy adaptation is provided that falls back to the default, OpenGL-based path for everything. This may be removed at some point later on, but is useful for testing the loading logic for now. Change-Id: I7e0a2cd3ef33ba910604fb4027af3b3711fcaf1e Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
Diffstat (limited to 'src/quick/scenegraph/scenegraph.pri')
-rw-r--r--src/quick/scenegraph/scenegraph.pri3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/quick/scenegraph/scenegraph.pri b/src/quick/scenegraph/scenegraph.pri
index 84cc2ba135..33f6dff8cf 100644
--- a/src/quick/scenegraph/scenegraph.pri
+++ b/src/quick/scenegraph/scenegraph.pri
@@ -100,6 +100,9 @@ SOURCES += \
$$PWD/qsgwindowsrenderloop.cpp \
$$PWD/qsgdefaultlayer.cpp
+# Built-in, non-plugin-based adaptations
+include(adaptations/adaptations.pri)
+
RESOURCES += \
$$PWD/scenegraph.qrc