1TEMPLATE        = subdirs
2
3!contains(QT_CONFIG, no-gui) {
4    no-png {
5        message("Some graphics-related tools are unavailable without PNG support")
6    } else {
7        symbian {
8            SUBDIRS = designer
9        } else:wince* {
10            SUBDIRS = qtestlib designer
11        } else {
12            SUBDIRS = assistant \
13                      pixeltool \
14                      porting \
15                      qtestlib \
16                      qttracereplay
17            contains(QT_EDITION, Console) {
18                SUBDIRS += designer/src/uitools     # Linguist depends on this
19            } else {
20                SUBDIRS += designer
21            }
22        }
23        unix:!symbian:!mac:!embedded:!qpa:SUBDIRS += qtconfig
24        win32:!wince*:SUBDIRS += activeqt
25    }
26    contains(QT_CONFIG, declarative) {
27        SUBDIRS += qml
28        !wince*:!symbian: SUBDIRS += qmlplugindump
29    }
30}
31
32!wince*:!symbian:SUBDIRS += linguist
33
34mac {
35    SUBDIRS += macdeployqt
36}
37
38embedded:SUBDIRS += kmap2qmap
39
40contains(QT_CONFIG, dbus):SUBDIRS += qdbus
41# We don't need these command line utilities on embedded platforms.
42!wince*:!symbian:contains(QT_CONFIG, xmlpatterns): SUBDIRS += xmlpatterns xmlpatternsvalidator
43embedded: SUBDIRS += makeqpf
44
45!wince*:!cross_compile:SUBDIRS += qdoc3
46
47CONFIG+=ordered
48QTDIR_build:REQUIRES = "contains(QT_CONFIG, full-config)"
49
50!win32:!embedded:!mac:!symbian:CONFIG += x11
51
52x11:contains(QT_CONFIG, opengles2):contains(QT_CONFIG, egl):SUBDIRS += qmeegographicssystemhelper
53