qt5base-lts/examples/opengl/opengl.pro

28 lines
630 B
Prolog
Raw Normal View History

requires(qtHaveModule(opengl))
TEMPLATE = subdirs
contains(QT_CONFIG, dynamicgl) {
SUBDIRS = hellowindow \
contextinfo \
hellogl_es2
} else: contains(QT_CONFIG, opengles2){
SUBDIRS = hellogl_es2
} else {
SUBDIRS = 2dpainting \
grabber \
hellogl \
overpainting \
pbuffers \
framebufferobject2 \
samplebuffers
}
!contains(QT_CONFIG, dynamicgl): SUBDIRS += hellowindow \
paintedwindow \
contextinfo \
cube \
textures
EXAMPLE_FILES = shared