aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/rendercontrol/rendercontrol_opengl/rendercontrol_opengl.pro
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2020-05-06 18:56:01 +0200
committerLaszlo Agocs <laszlo.agocs@qt.io>2020-05-18 16:09:55 +0200
commit3475b5f3a80545dfbd4746295e8e1ae88c7114ca (patch)
tree0e3e14ae5cd4708a76beaf522eb9f7214ce5d8fd /examples/quick/rendercontrol/rendercontrol_opengl/rendercontrol_opengl.pro
parent1c5de027d0c31d1d6697bd0557128d92207763d8 (diff)
Modernize the rendercontrol_opengl example
Make it work when using QRhi-on-OpenGL. Some features like demonstrating a dedicated render thread, or targeting the window with the Quick content ('onscreen' argument, not clear why that was added in the first place), are now removed. Some of these could be reintroduced in future examples, not necessarily in combination with OpenGL. For now they are removed since the cost of porting and maintaining all that is not reasonable at this point. Task-number: QTBUG-84040 Change-Id: I67e5c7cc835c5cf5653cf827004ce66a4d300b36 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'examples/quick/rendercontrol/rendercontrol_opengl/rendercontrol_opengl.pro')
-rw-r--r--examples/quick/rendercontrol/rendercontrol_opengl/rendercontrol_opengl.pro4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/quick/rendercontrol/rendercontrol_opengl/rendercontrol_opengl.pro b/examples/quick/rendercontrol/rendercontrol_opengl/rendercontrol_opengl.pro
index 900f5d14dd..3f32a0dff4 100644
--- a/examples/quick/rendercontrol/rendercontrol_opengl/rendercontrol_opengl.pro
+++ b/examples/quick/rendercontrol/rendercontrol_opengl/rendercontrol_opengl.pro
@@ -1,14 +1,12 @@
TEMPLATE = app
-QT += quick qml
+QT += quick qml opengl
SOURCES += main.cpp \
window_singlethreaded.cpp \
- window_multithreaded.cpp \
cuberenderer.cpp
HEADERS += window_singlethreaded.h \
- window_multithreaded.h \
cuberenderer.h
RESOURCES += rendercontrol.qrc