util/examples/opengl/opengl.pro
changeset 7 f7bc934e204c
equal deleted inserted replaced
3:41300fa6a67c 7:f7bc934e204c
       
     1 TEMPLATE      = subdirs
       
     2 
       
     3 contains(QT_CONFIG, opengles1)|contains(QT_CONFIG, opengles1cl)|contains(QT_CONFIG, opengles2){
       
     4     contains(QT_CONFIG, opengles2) {
       
     5         SUBDIRS   = hellogl_es2
       
     6     } else {
       
     7         SUBDIRS   = hellogl_es
       
     8     }
       
     9     !contains(QT_CONFIG, opengles1cl) {
       
    10         SUBDIRS += textures
       
    11     }
       
    12     contains(QT_CONFIG, opengles1) {
       
    13         SUBDIRS += hellogl
       
    14     }
       
    15 } else {
       
    16     SUBDIRS   = 2dpainting \
       
    17                 grabber \
       
    18                 hellogl \
       
    19                 overpainting \
       
    20                 pbuffers \
       
    21                 framebufferobject2 \
       
    22                 samplebuffers \
       
    23                 textures
       
    24 
       
    25     contains(QT_CONFIG, svg) {
       
    26         SUBDIRS += framebufferobject \
       
    27                 pbuffers2
       
    28     }
       
    29 }
       
    30 
       
    31 # install
       
    32 target.path = $$[QT_INSTALL_EXAMPLES]/opengl
       
    33 sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS opengl.pro README
       
    34 sources.path = $$[QT_INSTALL_EXAMPLES]/opengl
       
    35 INSTALLS += target sources
       
    36 
       
    37 symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)