1
TEMPLATE    = subdirs
2
3
!contains(QT_CONFIG, no-gui) {
4
SUBDIRS     = \
5
            demos_shared \
6
            demos_deform \
7
            demos_gradients \
8
            demos_pathstroke \
9
            demos_affine \
10
            demos_composition \
11
            demos_books \
12
            demos_interview \
13
            demos_mainwindow \
14
            demos_spreadsheet \
15
            demos_textedit \
16
            demos_chip \
17
            demos_embeddeddialogs \
18
            demos_undo \
19
            demos_sub-attaq
20
21
symbian: SUBDIRS = \
22
            demos_shared \
23
            demos_deform \
24
            demos_pathstroke
25
26
27
wince*:  SUBDIRS = \
28
            demos_shared \
29
            demos_deform \
30
            demos_gradients \
31
            demos_pathstroke \
32
            demos_affine \
33
            demos_composition \
34
            demos_books \
35
            demos_interview \
36
            demos_mainwindow \
37
            demos_spreadsheet \
38
            demos_textedit \
39
            # demos_chip \
40
            demos_embeddeddialogs \
41
            demos_undo \
42
            demos_sub-attaq
43
44
contains(QT_CONFIG, opengl):!contains(QT_CONFIG, opengles1):!contains(QT_CONFIG, opengles2):{
45
SUBDIRS += demos_boxes
46
}
47
contains(QT_CONFIG, opengl):contains(QT_CONFIG, svg){
48
SUBDIRS += demos_glhypnotizer
49
}
50
51
mac* && !qpa: SUBDIRS += demos_macmainwindow
52
wince*|symbian|embedded|x11: SUBDIRS += demos_embedded
53
54
!contains(QT_EDITION, Console):!cross_compile:!embedded:!wince*:SUBDIRS += demos_arthurplugin
55
56
!cross_compile:{
57
contains(QT_BUILD_PARTS, tools):{
58
!wince*:SUBDIRS += demos_sqlbrowser demos_qtdemo
59
wince*:SUBDIRS += demos_sqlbrowser
60
}
61
}
62
contains(QT_CONFIG, phonon):!static:SUBDIRS += demos_mediaplayer
63
contains(QT_CONFIG, webkit):contains(QT_CONFIG, svg):!symbian:SUBDIRS += demos_browser
64
contains(QT_CONFIG, declarative):SUBDIRS += demos_declarative demos_helper
65
contains(QT_CONFIG, multimedia):!static:SUBDIRS += demos_spectrum
66
67
# install
68
sources.files = README *.pro
69
sources.path = $$[QT_INSTALL_DEMOS]
70
INSTALLS += sources
71
72
symbian: include($$QT_SOURCE_TREE/demos/symbianpkgrules.pri)
73
74
demos_chip.subdir = chip
75
demos_embeddeddialogs.subdir = embeddeddialogs
76
demos_embedded.subdir = embedded
77
# Because of fluidlauncher
78
demos_embedded.depends = demos_deform demos_pathstroke
79
demos_shared.subdir = shared
80
demos_deform.subdir = deform
81
demos_gradients.subdir = gradients
82
demos_pathstroke.subdir = pathstroke
83
demos_affine.subdir = affine
84
demos_composition.subdir = composition
85
demos_books.subdir = books
86
demos_interview.subdir = interview
87
demos_macmainwindow.subdir = macmainwindow
88
demos_mainwindow.subdir = mainwindow
89
demos_spreadsheet.subdir = spreadsheet
90
demos_textedit.subdir = textedit
91
demos_arthurplugin.subdir = arthurplugin
92
demos_sqlbrowser.subdir = sqlbrowser
93
demos_undo.subdir = undo
94
demos_qtdemo.subdir = qtdemo
95
demos_mediaplayer.subdir = qmediaplayer
96
demos_declarative.subdir = declarative
97
demos_declarative.depends = demos_helper
98
demos_helper.subdir = helper
99
100
#mobile demos. Requires QtMobility sources. Not included in demo build
101
demos_guitartuner.subdir = mobile/guitartuner
102
demos_qcamera.subdir = mobile/qcamera
103
demos_qtbubblelevel.subdir = mobile/qtbubblelevel
104
demos_quickhit.subdir = mobile/quickhit
105
106
demos_browser.subdir = browser
107
108
demos_boxes.subdir = boxes
109
demos_sub-attaq.subdir = sub-attaq
110
demos_spectrum.subdir = spectrum
111
demos_glhypnotizer.subdir = glhypnotizer
112
113
#CONFIG += ordered
114
!ordered {
115
     demos_affine.depends = demos_shared
116
     demos_deform.depends = demos_shared
117
     demos_gradients.depends = demos_shared
118
     demos_composition.depends = demos_shared
119
     demos_arthurplugin.depends = demos_shared
120
     demos_pathstroke.depends = demos_shared
121
}
122
}