summaryrefslogtreecommitdiffstats
path: root/examples/opengl/opengl.pro
blob: 7bb5b298f2af6b1c94d0e96359500436e8a0f2f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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

    contains(QT_CONFIG, svg) {
        SUBDIRS += framebufferobject \
                pbuffers2
    }
}

# 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