demos/demos.pro
changeset 0 1918ee327afb
child 3 41300fa6a67c
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 TEMPLATE    = subdirs
       
     2 SUBDIRS     = \
       
     3             demos_shared \
       
     4             demos_deform \
       
     5             demos_gradients \
       
     6             demos_pathstroke \
       
     7             demos_affine \
       
     8             demos_composition \
       
     9             demos_books \
       
    10             demos_interview \
       
    11             demos_mainwindow \
       
    12             demos_spreadsheet \
       
    13             demos_textedit \
       
    14             demos_chip \
       
    15             demos_embeddeddialogs \
       
    16             demos_undo \
       
    17             demos_sub-attaq
       
    18 
       
    19 symbian: SUBDIRS = \
       
    20             demos_shared \
       
    21             demos_deform \
       
    22             demos_gradients \
       
    23             demos_pathstroke
       
    24 
       
    25 contains(QT_CONFIG, opengl):!contains(QT_CONFIG, opengles1):!contains(QT_CONFIG, opengles1cl):!contains(QT_CONFIG, opengles2):{
       
    26 SUBDIRS += demos_boxes
       
    27 }
       
    28 
       
    29 mac*: SUBDIRS += demos_macmainwindow
       
    30 wince*|symbian|embedded|x11: SUBDIRS += embedded
       
    31 
       
    32 !contains(QT_EDITION, Console):!cross_compile:!embedded:!wince*:SUBDIRS += demos_arthurplugin
       
    33 
       
    34 !cross_compile:{
       
    35 contains(QT_BUILD_PARTS, tools):{
       
    36 !wince*:SUBDIRS += demos_sqlbrowser demos_qtdemo
       
    37 wince*: SUBDIRS += demos_sqlbrowser
       
    38 }
       
    39 }
       
    40 contains(QT_CONFIG, phonon):!static:SUBDIRS += demos_mediaplayer
       
    41 contains(QT_CONFIG, webkit):contains(QT_CONFIG, svg):SUBDIRS += demos_browser
       
    42 
       
    43 # install
       
    44 sources.files = README *.pro
       
    45 sources.path = $$[QT_INSTALL_DEMOS]
       
    46 INSTALLS += sources
       
    47 
       
    48 symbian: include($$QT_SOURCE_TREE/demos/symbianpkgrules.pri)
       
    49 
       
    50 demos_chip.subdir = chip
       
    51 demos_embeddeddialogs.subdir = embeddeddialogs
       
    52 demos_shared.subdir = shared
       
    53 demos_deform.subdir = deform
       
    54 demos_gradients.subdir = gradients
       
    55 demos_pathstroke.subdir = pathstroke
       
    56 demos_affine.subdir = affine
       
    57 demos_composition.subdir = composition
       
    58 demos_books.subdir = books
       
    59 demos_interview.subdir = interview
       
    60 demos_macmainwindow.subdir = macmainwindow
       
    61 demos_mainwindow.subdir = mainwindow
       
    62 demos_spreadsheet.subdir = spreadsheet
       
    63 demos_textedit.subdir = textedit
       
    64 demos_arthurplugin.subdir = arthurplugin
       
    65 demos_sqlbrowser.subdir = sqlbrowser
       
    66 demos_undo.subdir = undo
       
    67 demos_qtdemo.subdir = qtdemo
       
    68 demos_mediaplayer.subdir = qmediaplayer
       
    69 
       
    70 demos_browser.subdir = browser
       
    71 
       
    72 demos_boxes.subdir = boxes
       
    73 demos_sub-attaq.subdir = sub-attaq
       
    74 
       
    75 #CONFIG += ordered
       
    76 !ordered {
       
    77      demos_affine.depends = demos_shared
       
    78      demos_deform.depends = demos_shared
       
    79      demos_gradients.depends = demos_shared
       
    80      demos_composition.depends = demos_shared
       
    81      demos_arthurplugin.depends = demos_shared
       
    82      demos_pathstroke.depends = demos_shared
       
    83 }