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.pro38
1 files changed, 12 insertions, 26 deletions
diff --git a/examples/opengl/opengl.pro b/examples/opengl/opengl.pro
index 8d09d21d72e..7c055d2a826 100644
--- a/examples/opengl/opengl.pro
+++ b/examples/opengl/opengl.pro
@@ -1,30 +1,16 @@
-requires(qtHaveModule(opengl))
-
TEMPLATE = subdirs
-contains(QT_CONFIG, dynamicgl) {
- SUBDIRS = hellowindow \
- contextinfo \
- qopenglwidget \
- threadedqopenglwidget \
- qopenglwindow
-} else: !contains(QT_CONFIG, opengles2) {
- SUBDIRS = 2dpainting \
- grabber \
- hellogl \
- overpainting \
- pbuffers \
- framebufferobject2 \
- samplebuffers
-}
+SUBDIRS = hellowindow \
+ paintedwindow \
+ qopenglwindow
-!contains(QT_CONFIG, dynamicgl): SUBDIRS += hellowindow \
- paintedwindow \
- contextinfo \
- cube \
- textures \
- qopenglwidget \
- threadedqopenglwidget \
- qopenglwindow
+qtHaveModule(widgets) {
+ SUBDIRS += contextinfo \
+ threadedqopenglwidget \
+ 2dpainting \
+ hellogl2
-EXAMPLE_FILES = shared
+ !wince*: SUBDIRS += qopenglwidget \
+ cube \
+ textures
+}