path: root/src/webenginewidgets/
diff options
authorJocelyn Turcotte <>2014-10-15 13:59:17 +0200
committerJocelyn Turcotte <>2014-11-25 16:27:18 +0100
commit3a7674a1b6901826a70b54eab5c9312ecd0d6052 (patch)
tree599e000eed26b3708d54dc26dc5255e6e8f849a7 /src/webenginewidgets/
parent3f08d8a506241bf9b9cdfb2be37f8a3868869adf (diff)
Avoid relying on QOpenGL classes to handle RenderPasses
Use QSGLayer and get rid of RenderPassTexture so that we can render intermediate layers with the QtQuick 2D Renderer. This reintroduces the private dependency on QtQuick since the QSGLayer factory methods aren't available publically, and also that we need to use QSGImageNode instead of QSGSimpleTextureNode to use them. Since we can't subclass QSGLayer to hold a reference to SG objects directly in the nodes that use them, store them all in the wrapping DelegatedFrameNode in a SGObjects structs. This works assuming that the DelegatedFrameNode will always be at the root of our nodes, layers and textures; if the scene graph destroys the DelegatedFrameNode all child nodes will be destroyed with it. Change-Id: Iedeceb8f98eb54fd8228a677c366d6df9a270e11 Reviewed-by: Zeno Albisser <>
Diffstat (limited to 'src/webenginewidgets/')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webenginewidgets/ b/src/webenginewidgets/
index 71240cbaf..296b62475 100644
--- a/src/webenginewidgets/
+++ b/src/webenginewidgets/
@@ -6,7 +6,7 @@ CMAKE_MODULE_TESTS = "-"
QT += webengine widgets network quick
-QT_PRIVATE += webenginecore
+QT_PRIVATE += webenginecore quick-private gui-private core-private
QMAKE_DOCS = $$PWD/doc/qtwebenginewidgets.qdocconf