a889305c7e
all examples compile again
36 lines
843 B
Prolog
36 lines
843 B
Prolog
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
|
|
}
|
|
|
|
qpa {
|
|
SUBDIRS += hellowindow
|
|
}
|
|
|
|
# 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
|
|
|
|
symbian: CONFIG += qt_example
|
|
QT += widgets
|