625002f706
No reason to restrict it to desktop only, the code works on ES2 too. Task-number: QTBUG-35730 Change-Id: I915a88cbf3c95a941d6bafd88ed57fef0b6a25b9 Reviewed-by: Jørgen Lind <jorgen.lind@digia.com>
32 lines
695 B
Prolog
32 lines
695 B
Prolog
requires(qtHaveModule(opengl))
|
|
|
|
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 \
|
|
grabber \
|
|
hellogl \
|
|
overpainting \
|
|
pbuffers \
|
|
framebufferobject2 \
|
|
samplebuffers \
|
|
textures
|
|
}
|
|
|
|
SUBDIRS += hellowindow \
|
|
paintedwindow \
|
|
contextinfo \
|
|
cube
|
|
|
|
EXAMPLE_FILES = shared
|