1
TEMPLATE      = subdirs
2
SUBDIRS       = \
3
                network \
4
                statemachine \
5
                threads \
6
                xml
7
8
!contains(QT_CONFIG, no-gui) {
9
    SUBDIRS  += \
10
                animation \
11
                desktop \
12
                dialogs \
13
                draganddrop \
14
                effects \
15
                graphicsview \
16
                ipc \
17
                itemviews \
18
                layouts \
19
                linguist \
20
                mainwindows \
21
                painting \
22
                richtext \
23
                sql \
24
                tools \
25
                tutorials \
26
                widgets \
27
                uitools \
28
                touch \
29
                gestures
30
}
31
32
contains(QT_CONFIG, webkit):SUBDIRS += webkit
33
34
symbian: SUBDIRS = \
35
                graphicsview \
36
                itemviews \
37
                network \
38
                painting \
39
                widgets \
40
                draganddrop \
41
                mainwindows \
42
                sql \
43
                uitools \
44
                animation \
45
                gestures \
46
                xml
47
48
contains(DEFINES, QT_NO_GESTURES): SUBDIRS -= gestures
49
50
!contains(QT_CONFIG, no-gui):contains(QT_CONFIG, multimedia) {
51
    SUBDIRS += multimedia
52
}
53
54
contains(QT_CONFIG, script): SUBDIRS += script
55
56
contains(QT_CONFIG, phonon):!static: SUBDIRS += phonon
57
embedded:SUBDIRS += qws
58
!wince*:!symbian: {
59
    !contains(QT_EDITION, Console):!contains(QT_CONFIG, no-gui):contains(QT_BUILD_PARTS, tools):SUBDIRS += designer
60
    contains(QT_BUILD_PARTS, tools):!contains(QT_CONFIG, no-gui):SUBDIRS += qtestlib help
61
} else {
62
    contains(QT_BUILD_PARTS, tools):!contains(QT_CONFIG, no-gui):SUBDIRS += qtestlib
63
}
64
contains(QT_CONFIG, opengl): SUBDIRS += opengl
65
contains(QT_CONFIG, openvg): SUBDIRS += openvg
66
contains(QT_CONFIG, dbus): SUBDIRS += dbus
67
contains(QT_CONFIG, declarative): SUBDIRS += declarative helper
68
win32:!win32-g++*: SUBDIRS += activeqt
69
contains(QT_CONFIG, xmlpatterns):!contains(QT_CONFIG, no-gui): SUBDIRS += xmlpatterns
70
contains(DEFINES, QT_NO_CURSOR): SUBDIRS -= mainwindows
71
contains(QT_CONFIG, concurrent): SUBDIRS += qtconcurrent
72
73
# install
74
sources.files = README *.pro
75
sources.path = $$[QT_INSTALL_EXAMPLES]
76
INSTALLS += sources