|
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_pathstroke |
|
23 |
|
24 wince*: SUBDIRS = \ |
|
25 demos_shared \ |
|
26 demos_deform \ |
|
27 demos_gradients \ |
|
28 demos_pathstroke \ |
|
29 demos_affine \ |
|
30 demos_composition \ |
|
31 demos_books \ |
|
32 demos_interview \ |
|
33 demos_mainwindow \ |
|
34 demos_spreadsheet \ |
|
35 demos_textedit \ |
|
36 # demos_chip \ |
|
37 demos_embeddeddialogs \ |
|
38 demos_undo \ |
|
39 demos_sub-attaq |
|
40 |
|
41 contains(QT_CONFIG, opengl):!contains(QT_CONFIG, opengles1):!contains(QT_CONFIG, opengles1cl):!contains(QT_CONFIG, opengles2):{ |
|
42 SUBDIRS += demos_boxes |
|
43 } |
|
44 |
|
45 mac*: SUBDIRS += demos_macmainwindow |
|
46 wince*|symbian|embedded|x11: SUBDIRS += embedded |
|
47 |
|
48 !contains(QT_EDITION, Console):!cross_compile:!embedded:!wince*:SUBDIRS += demos_arthurplugin |
|
49 |
|
50 !cross_compile:{ |
|
51 contains(QT_BUILD_PARTS, tools):{ |
|
52 !wince*:SUBDIRS += demos_sqlbrowser demos_qtdemo |
|
53 wince*:SUBDIRS += demos_sqlbrowser |
|
54 } |
|
55 } |
|
56 contains(QT_CONFIG, phonon):!static:SUBDIRS += demos_mediaplayer |
|
57 contains(QT_CONFIG, webkit):contains(QT_CONFIG, svg):!symbian:SUBDIRS += demos_browser |
|
58 |
|
59 # install |
|
60 sources.files = README *.pro |
|
61 sources.path = $$[QT_INSTALL_DEMOS] |
|
62 INSTALLS += sources |
|
63 |
|
64 symbian: include($$QT_SOURCE_TREE/demos/symbianpkgrules.pri) |
|
65 |
|
66 demos_chip.subdir = chip |
|
67 demos_embeddeddialogs.subdir = embeddeddialogs |
|
68 demos_shared.subdir = shared |
|
69 demos_deform.subdir = deform |
|
70 demos_gradients.subdir = gradients |
|
71 demos_pathstroke.subdir = pathstroke |
|
72 demos_affine.subdir = affine |
|
73 demos_composition.subdir = composition |
|
74 demos_books.subdir = books |
|
75 demos_interview.subdir = interview |
|
76 demos_macmainwindow.subdir = macmainwindow |
|
77 demos_mainwindow.subdir = mainwindow |
|
78 demos_spreadsheet.subdir = spreadsheet |
|
79 demos_textedit.subdir = textedit |
|
80 demos_arthurplugin.subdir = arthurplugin |
|
81 demos_sqlbrowser.subdir = sqlbrowser |
|
82 demos_undo.subdir = undo |
|
83 demos_qtdemo.subdir = qtdemo |
|
84 demos_mediaplayer.subdir = qmediaplayer |
|
85 |
|
86 demos_browser.subdir = browser |
|
87 |
|
88 demos_boxes.subdir = boxes |
|
89 demos_sub-attaq.subdir = sub-attaq |
|
90 |
|
91 #CONFIG += ordered |
|
92 !ordered { |
|
93 demos_affine.depends = demos_shared |
|
94 demos_deform.depends = demos_shared |
|
95 demos_gradients.depends = demos_shared |
|
96 demos_composition.depends = demos_shared |
|
97 demos_arthurplugin.depends = demos_shared |
|
98 demos_pathstroke.depends = demos_shared |
|
99 } |