3 src_tools.subdir = $$PWD/tools
4 src_tools.target = sub-tools
6 src_winmain.subdir = $$PWD/winmain
7 src_winmain.target = sub-winmain
8 src_winmain.depends = sub-corelib # just for the module .pri file
10 src_corelib.subdir = $$PWD/corelib
11 src_corelib.target = sub-corelib
12 src_corelib.depends = src_tools
14 src_xml.subdir = $$PWD/xml
15 src_xml.target = sub-xml
16 src_xml.depends = src_corelib
18 src_dbus.subdir = $$PWD/dbus
19 src_dbus.target = sub-dbus
20 src_dbus.depends = src_corelib
22 src_concurrent.subdir = $$PWD/concurrent
23 src_concurrent.target = sub-concurrent
24 src_concurrent.depends = src_corelib
26 src_sql.subdir = $$PWD/sql
27 src_sql.target = sub-sql
28 src_sql.depends = src_corelib
30 src_network.subdir = $$PWD/network
31 src_network.target = sub-network
32 src_network.depends = src_corelib
34 src_testlib.subdir = $$PWD/testlib
35 src_testlib.target = sub-testlib
36 src_testlib.depends = src_corelib # src_gui & src_widgets are not build-depends
38 src_angle.subdir = $$PWD/angle
39 src_angle.target = src_angle
41 src_gui.subdir = $$PWD/gui
42 src_gui.target = sub-gui
43 src_gui.depends = src_corelib
45 src_platformsupport.subdir = $$PWD/platformsupport
46 src_platformsupport.target = sub-platformsupport
47 src_platformsupport.depends = src_corelib src_gui src_network
49 src_widgets.subdir = $$PWD/widgets
50 src_widgets.target = sub-widgets
51 src_widgets.depends = src_corelib src_gui
53 src_opengl.subdir = $$PWD/opengl
54 src_opengl.target = sub-opengl
55 src_opengl.depends = src_gui src_widgets
57 src_printsupport.subdir = $$PWD/printsupport
58 src_printsupport.target = sub-printsupport
59 src_printsupport.depends = src_corelib src_gui src_widgets
61 src_plugins.subdir = $$PWD/plugins
62 src_plugins.target = sub-plugins
63 src_plugins.depends = src_sql src_xml src_network
65 # this order is important
66 SUBDIRS += src_tools src_corelib
67 win32:SUBDIRS += src_winmain
68 SUBDIRS += src_network src_sql src_xml src_testlib
69 contains(QT_CONFIG, dbus) {
71 src_plugins.depends += src_dbus
73 contains(QT_CONFIG, concurrent):SUBDIRS += src_concurrent
74 !contains(QT_CONFIG, no-gui) {
75 win32:contains(QT_CONFIG, angle) {
77 src_gui.depends += src_angle
79 SUBDIRS += src_gui src_platformsupport
80 src_plugins.depends += src_gui src_platformsupport
81 !contains(QT_CONFIG, no-widgets) {
82 SUBDIRS += src_widgets
83 src_plugins.depends += src_widgets
84 contains(QT_CONFIG, opengl(es1|es2)?) {
86 src_plugins.depends += src_opengl
89 SUBDIRS += src_printsupport
90 src_plugins.depends += src_printsupport
94 SUBDIRS += src_plugins
96 nacl: SUBDIRS -= src_network src_testlib