2012-12-21 14:14:40 +01:00
|
|
|
requires(qtHaveModule(opengl))
|
|
|
|
|
2011-04-27 12:05:43 +02:00
|
|
|
TEMPLATE = subdirs
|
|
|
|
|
|
|
|
contains(QT_CONFIG, opengles1)|contains(QT_CONFIG, opengles2){
|
|
|
|
contains(QT_CONFIG, opengles2) {
|
|
|
|
SUBDIRS = hellogl_es2
|
|
|
|
} else {
|
|
|
|
SUBDIRS = hellogl_es
|
|
|
|
}
|
|
|
|
SUBDIRS += textures
|
|
|
|
contains(QT_CONFIG, opengles1) {
|
|
|
|
SUBDIRS += hellogl
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
SUBDIRS = 2dpainting \
|
2011-04-27 19:16:41 +02:00
|
|
|
cube \
|
2011-04-27 12:05:43 +02:00
|
|
|
grabber \
|
|
|
|
hellogl \
|
|
|
|
overpainting \
|
|
|
|
pbuffers \
|
|
|
|
framebufferobject2 \
|
|
|
|
samplebuffers \
|
|
|
|
textures
|
|
|
|
}
|
|
|
|
|
2011-10-28 10:41:14 +02:00
|
|
|
SUBDIRS += hellowindow \
|
|
|
|
paintedwindow
|
2011-04-27 17:49:30 +02:00
|
|
|
|
2012-11-27 20:40:16 +01:00
|
|
|
EXAMPLE_FILES = shared
|