2011-04-27 10:05:43 +00:00
|
|
|
TEMPLATE = subdirs
|
|
|
|
|
2013-03-08 19:31:05 +00:00
|
|
|
src_tools_bootstrap.subdir = tools/bootstrap
|
|
|
|
src_tools_bootstrap.target = sub-bootstrap
|
|
|
|
|
|
|
|
src_tools_moc.subdir = tools/moc
|
|
|
|
src_tools_moc.target = sub-moc
|
|
|
|
src_tools_moc.depends = src_tools_bootstrap
|
|
|
|
|
|
|
|
src_tools_rcc.subdir = tools/rcc
|
|
|
|
src_tools_rcc.target = sub-rcc
|
|
|
|
src_tools_rcc.depends = src_tools_bootstrap
|
|
|
|
|
|
|
|
src_tools_uic.subdir = tools/uic
|
|
|
|
src_tools_uic.target = sub-uic
|
|
|
|
src_tools_uic.depends = src_tools_bootstrap
|
|
|
|
|
|
|
|
src_tools_qdoc.subdir = tools/qdoc
|
|
|
|
src_tools_qdoc.target = sub-qdoc
|
|
|
|
src_tools_qdoc.depends = src_tools_bootstrap
|
|
|
|
|
|
|
|
src_tools_qdbusxml2cpp.subdir = tools/qdbusxml2cpp
|
|
|
|
src_tools_qdbusxml2cpp.target = sub-qdbusxml2cpp
|
|
|
|
src_tools_qdbusxml2cpp.depends = src_tools_bootstrap
|
|
|
|
|
|
|
|
src_tools_qdbuscpp2xml.subdir = tools/qdbuscpp2xml
|
|
|
|
src_tools_qdbuscpp2xml.target = sub-qdbuscpp2xml
|
|
|
|
src_tools_qdbuscpp2xml.depends = src_tools_bootstrap
|
2012-06-01 14:43:46 +00:00
|
|
|
|
2012-03-02 20:32:02 +00:00
|
|
|
src_winmain.subdir = $$PWD/winmain
|
2011-04-27 10:05:43 +00:00
|
|
|
src_winmain.target = sub-winmain
|
2012-06-01 14:43:46 +00:00
|
|
|
src_winmain.depends = sub-corelib # just for the module .pri file
|
|
|
|
|
2012-03-02 20:32:02 +00:00
|
|
|
src_corelib.subdir = $$PWD/corelib
|
2011-04-27 10:05:43 +00:00
|
|
|
src_corelib.target = sub-corelib
|
2013-03-08 19:31:05 +00:00
|
|
|
src_corelib.depends = src_tools_moc src_tools_rcc
|
2012-06-01 14:43:46 +00:00
|
|
|
|
2012-03-02 20:32:02 +00:00
|
|
|
src_xml.subdir = $$PWD/xml
|
2011-04-27 10:05:43 +00:00
|
|
|
src_xml.target = sub-xml
|
2012-06-01 14:43:46 +00:00
|
|
|
src_xml.depends = src_corelib
|
|
|
|
|
2012-03-02 20:32:02 +00:00
|
|
|
src_dbus.subdir = $$PWD/dbus
|
2011-04-27 10:05:43 +00:00
|
|
|
src_dbus.target = sub-dbus
|
2012-06-01 14:43:46 +00:00
|
|
|
src_dbus.depends = src_corelib
|
|
|
|
|
|
|
|
src_concurrent.subdir = $$PWD/concurrent
|
|
|
|
src_concurrent.target = sub-concurrent
|
|
|
|
src_concurrent.depends = src_corelib
|
|
|
|
|
2012-03-02 20:32:02 +00:00
|
|
|
src_sql.subdir = $$PWD/sql
|
2011-04-27 10:05:43 +00:00
|
|
|
src_sql.target = sub-sql
|
2012-06-01 14:43:46 +00:00
|
|
|
src_sql.depends = src_corelib
|
|
|
|
|
2012-03-02 20:32:02 +00:00
|
|
|
src_network.subdir = $$PWD/network
|
2011-04-27 10:05:43 +00:00
|
|
|
src_network.target = sub-network
|
2012-06-01 14:43:46 +00:00
|
|
|
src_network.depends = src_corelib
|
|
|
|
|
2012-03-02 20:32:02 +00:00
|
|
|
src_testlib.subdir = $$PWD/testlib
|
2011-04-27 10:05:43 +00:00
|
|
|
src_testlib.target = sub-testlib
|
2012-06-01 14:43:46 +00:00
|
|
|
src_testlib.depends = src_corelib # src_gui & src_widgets are not build-depends
|
|
|
|
|
2012-10-15 12:16:51 +00:00
|
|
|
src_angle.subdir = $$PWD/angle
|
2013-01-07 15:33:32 +00:00
|
|
|
src_angle.target = sub-angle
|
2012-10-15 12:16:51 +00:00
|
|
|
|
2012-06-01 14:43:46 +00:00
|
|
|
src_gui.subdir = $$PWD/gui
|
|
|
|
src_gui.target = sub-gui
|
|
|
|
src_gui.depends = src_corelib
|
|
|
|
|
2012-03-02 20:32:02 +00:00
|
|
|
src_platformsupport.subdir = $$PWD/platformsupport
|
2011-06-09 13:56:55 +00:00
|
|
|
src_platformsupport.target = sub-platformsupport
|
2012-06-01 14:43:46 +00:00
|
|
|
src_platformsupport.depends = src_corelib src_gui src_network
|
2011-06-09 13:56:55 +00:00
|
|
|
|
2012-06-01 14:43:46 +00:00
|
|
|
src_widgets.subdir = $$PWD/widgets
|
|
|
|
src_widgets.target = sub-widgets
|
2013-03-08 19:31:05 +00:00
|
|
|
src_widgets.depends = src_corelib src_gui src_tools_uic
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2012-06-01 14:43:46 +00:00
|
|
|
src_opengl.subdir = $$PWD/opengl
|
|
|
|
src_opengl.target = sub-opengl
|
|
|
|
src_opengl.depends = src_gui src_widgets
|
|
|
|
|
2013-01-27 15:53:13 +00:00
|
|
|
src_openglextensions.subdir = $$PWD/openglextensions
|
|
|
|
src_openglextensions.target = sub-openglextensions
|
|
|
|
src_openglextensions.depends = src_gui
|
|
|
|
|
2012-06-01 14:43:46 +00:00
|
|
|
src_printsupport.subdir = $$PWD/printsupport
|
|
|
|
src_printsupport.target = sub-printsupport
|
2013-03-08 19:31:05 +00:00
|
|
|
src_printsupport.depends = src_corelib src_gui src_widgets src_tools_uic
|
2012-06-01 14:43:46 +00:00
|
|
|
|
|
|
|
src_plugins.subdir = $$PWD/plugins
|
|
|
|
src_plugins.target = sub-plugins
|
2012-08-24 09:34:57 +00:00
|
|
|
src_plugins.depends = src_sql src_xml src_network
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2013-03-04 09:16:42 +00:00
|
|
|
src_android.subdir = $$PWD/android
|
|
|
|
|
2012-06-01 14:43:46 +00:00
|
|
|
# this order is important
|
2013-03-08 19:31:05 +00:00
|
|
|
SUBDIRS += src_tools_bootstrap src_tools_moc src_tools_rcc src_corelib
|
2012-06-01 14:43:46 +00:00
|
|
|
win32:SUBDIRS += src_winmain
|
|
|
|
SUBDIRS += src_network src_sql src_xml src_testlib
|
|
|
|
contains(QT_CONFIG, dbus) {
|
2013-03-08 19:31:05 +00:00
|
|
|
SUBDIRS += src_dbus src_tools_qdbusxml2cpp src_tools_qdbuscpp2xml
|
|
|
|
src_plugins.depends += src_dbus src_tools_qdbusxml2cpp src_tools_qdbuscpp2xml
|
2012-06-01 14:43:46 +00:00
|
|
|
}
|
|
|
|
contains(QT_CONFIG, concurrent):SUBDIRS += src_concurrent
|
|
|
|
!contains(QT_CONFIG, no-gui) {
|
2012-10-15 12:16:51 +00:00
|
|
|
win32:contains(QT_CONFIG, angle) {
|
|
|
|
SUBDIRS += src_angle
|
|
|
|
src_gui.depends += src_angle
|
|
|
|
}
|
2013-01-27 15:53:13 +00:00
|
|
|
SUBDIRS += src_gui src_platformsupport src_openglextensions
|
2012-07-03 01:30:30 +00:00
|
|
|
src_plugins.depends += src_gui src_platformsupport
|
2012-06-01 14:43:46 +00:00
|
|
|
!contains(QT_CONFIG, no-widgets) {
|
2013-03-08 19:31:05 +00:00
|
|
|
SUBDIRS += src_tools_uic src_widgets
|
2012-07-03 01:30:30 +00:00
|
|
|
src_plugins.depends += src_widgets
|
2012-06-01 14:43:46 +00:00
|
|
|
contains(QT_CONFIG, opengl(es1|es2)?) {
|
|
|
|
SUBDIRS += src_opengl
|
|
|
|
src_plugins.depends += src_opengl
|
|
|
|
}
|
|
|
|
!wince* {
|
|
|
|
SUBDIRS += src_printsupport
|
|
|
|
src_plugins.depends += src_printsupport
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-03-08 19:31:05 +00:00
|
|
|
SUBDIRS += src_plugins src_tools_qdoc
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2012-06-01 14:43:46 +00:00
|
|
|
nacl: SUBDIRS -= src_network src_testlib
|
2013-03-04 09:16:42 +00:00
|
|
|
|
|
|
|
android:!android-no-sdk: SUBDIRS += src_android
|