2011-04-27 10:05:43 +00: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 17:16:41 +00:00
|
|
|
cube \
|
2011-04-27 10:05:43 +00:00
|
|
|
grabber \
|
|
|
|
hellogl \
|
|
|
|
overpainting \
|
|
|
|
pbuffers \
|
|
|
|
framebufferobject2 \
|
|
|
|
samplebuffers \
|
|
|
|
textures
|
|
|
|
}
|
|
|
|
|
2011-10-28 08:41:14 +00:00
|
|
|
SUBDIRS += hellowindow \
|
|
|
|
paintedwindow
|
2011-04-27 15:49:30 +00:00
|
|
|
|
2011-04-27 10:05:43 +00:00
|
|
|
# install
|
|
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/opengl
|
|
|
|
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS opengl.pro README
|
|
|
|
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/opengl
|
|
|
|
INSTALLS += target sources
|
|
|
|
|
2011-05-07 21:50:03 +00:00
|
|
|
QT += widgets
|