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
18
contains(QT_CONFIG, opengl):!contains(QT_CONFIG, opengles1):!contains(QT_CONFIG, opengles1cl):!contains(QT_CONFIG, opengles2):{
19
SUBDIRS += demos_boxes
20
}
21
22
mac*: SUBDIRS += demos_macmainwindow
23
wince*|embedded: SUBDIRS += embedded
24
25
!contains(QT_EDITION, Console):!cross_compile:!embedded:!wince*:SUBDIRS += demos_arthurplugin
26
27
!cross_compile:{
28
contains(QT_BUILD_PARTS, tools):{
29
!wince*:SUBDIRS += demos_sqlbrowser demos_qtdemo
30
wince*: SUBDIRS += demos_sqlbrowser
31
}
32
}
33
contains(QT_CONFIG, phonon):!static:SUBDIRS += demos_mediaplayer
34
contains(QT_CONFIG, webkit):contains(QT_CONFIG, svg):SUBDIRS += demos_browser
35
36
# install
37
sources.files = README *.pro
38
sources.path = $$[QT_INSTALL_DEMOS]
39
INSTALLS += sources
40
41
demos_chip.subdir = chip
42
demos_embeddeddialogs.subdir = embeddeddialogs
43
demos_shared.subdir = shared
44
demos_deform.subdir = deform
45
demos_gradients.subdir = gradients
46
demos_pathstroke.subdir = pathstroke
47
demos_affine.subdir = affine
48
demos_composition.subdir = composition
49
demos_books.subdir = books
50
demos_interview.subdir = interview
51
demos_macmainwindow.subdir = macmainwindow
52
demos_mainwindow.subdir = mainwindow
53
demos_spreadsheet.subdir = spreadsheet
54
demos_textedit.subdir = textedit
55
demos_arthurplugin.subdir = arthurplugin
56
demos_sqlbrowser.subdir = sqlbrowser
57
demos_undo.subdir = undo
58
demos_qtdemo.subdir = qtdemo
59
demos_mediaplayer.subdir = mediaplayer
60
61
demos_browser.subdir = browser
62
63
demos_boxes.subdir = boxes
64
65
#CONFIG += ordered
66
!ordered {
67
     demos_affine.depends = demos_shared
68
     demos_deform.depends = demos_shared
69
     demos_gradients.depends = demos_shared
70
     demos_composition.depends = demos_shared
71
     demos_arthurplugin.depends = demos_shared
72
     demos_pathstroke.depends = demos_shared
73
}