summaryrefslogtreecommitdiffstats
path: root/examples/opengl/opengl.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl/opengl.pro')
-rw-r--r--examples/opengl/opengl.pro31
1 files changed, 12 insertions, 19 deletions
diff --git a/examples/opengl/opengl.pro b/examples/opengl/opengl.pro
index 7bc96234df..7c055d2a82 100644
--- a/examples/opengl/opengl.pro
+++ b/examples/opengl/opengl.pro
@@ -1,23 +1,16 @@
-requires(qtHaveModule(opengl))
-
TEMPLATE = subdirs
-contains(QT_CONFIG, opengles2) {
- SUBDIRS = hellogl_es2
-} else {
- SUBDIRS = 2dpainting \
- grabber \
- hellogl \
- overpainting \
- pbuffers \
- framebufferobject2 \
- samplebuffers
-}
+SUBDIRS = hellowindow \
+ paintedwindow \
+ qopenglwindow
-SUBDIRS += hellowindow \
- paintedwindow \
- contextinfo \
- cube \
- textures
+qtHaveModule(widgets) {
+ SUBDIRS += contextinfo \
+ threadedqopenglwidget \
+ 2dpainting \
+ hellogl2
-EXAMPLE_FILES = shared
+ !wince*: SUBDIRS += qopenglwidget \
+ cube \
+ textures
+}