Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration
[qt:digia-qt.git] / examples / examples.pro
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(QT_CONFIG, no-gui):contains(QT_CONFIG, multimedia) {
49     SUBDIRS += multimedia
50 }
51
52 contains(QT_CONFIG, script): SUBDIRS += script
53
54 contains(QT_CONFIG, phonon):!static: SUBDIRS += phonon
55 embedded:SUBDIRS += qws
56 !wince*:!symbian: {
57     !contains(QT_EDITION, Console):!contains(QT_CONFIG, no-gui):contains(QT_BUILD_PARTS, tools):SUBDIRS += designer
58     contains(QT_BUILD_PARTS, tools):!contains(QT_CONFIG, no-gui):SUBDIRS += qtestlib help
59 } else {
60     contains(QT_BUILD_PARTS, tools):!contains(QT_CONFIG, no-gui):SUBDIRS += qtestlib
61 }
62 contains(QT_CONFIG, opengl): SUBDIRS += opengl
63 contains(QT_CONFIG, openvg): SUBDIRS += openvg
64 contains(QT_CONFIG, dbus): SUBDIRS += dbus
65 contains(QT_CONFIG, declarative): SUBDIRS += declarative
66 win32: SUBDIRS += activeqt
67 contains(QT_CONFIG, xmlpatterns):!contains(QT_CONFIG, no-gui): SUBDIRS += xmlpatterns
68 contains(DEFINES, QT_NO_CURSOR): SUBDIRS -= mainwindows
69 contains(QT_CONFIG, concurrent): SUBDIRS += qtconcurrent
70
71 # install
72 sources.files = README *.pro
73 sources.path = $$[QT_INSTALL_EXAMPLES]
74 INSTALLS += sources
75
76 symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)