2011-04-27 10:05:43 +00:00
|
|
|
TEMPLATE = subdirs
|
|
|
|
|
|
|
|
SUBDIRS += \
|
2011-11-07 12:45:12 +00:00
|
|
|
corelib \
|
2011-10-11 08:21:54 +00:00
|
|
|
dbus \
|
2011-11-03 12:33:32 +00:00
|
|
|
gui \
|
2011-11-04 15:43:53 +00:00
|
|
|
network \
|
2011-10-11 08:21:54 +00:00
|
|
|
opengl \
|
2011-09-02 10:08:47 +00:00
|
|
|
sql \
|
2011-09-09 07:57:55 +00:00
|
|
|
testlib \
|
2011-10-11 08:21:54 +00:00
|
|
|
tools \
|
|
|
|
xml \
|
2012-02-03 13:17:26 +00:00
|
|
|
concurrent \
|
2011-11-03 09:57:23 +00:00
|
|
|
other \
|
2011-10-20 11:17:26 +00:00
|
|
|
widgets \
|
2012-03-10 02:43:21 +00:00
|
|
|
printsupport \
|
2013-07-02 11:59:04 +00:00
|
|
|
cmake \
|
|
|
|
installed_cmake
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2013-07-08 07:03:01 +00:00
|
|
|
installed_cmake.depends = cmake
|
|
|
|
|
2014-01-16 10:00:30 +00:00
|
|
|
ios: SUBDIRS = corelib gui
|
|
|
|
|
2015-06-03 15:04:53 +00:00
|
|
|
wince: SUBDIRS -= printsupport
|
2011-10-11 08:21:54 +00:00
|
|
|
cross_compile: SUBDIRS -= tools
|
2012-12-21 11:09:56 +00:00
|
|
|
!qtHaveModule(opengl): SUBDIRS -= opengl
|
2016-03-23 18:26:02 +00:00
|
|
|
!qtHaveModule(gui): SUBDIRS -= gui
|
2013-02-19 12:09:44 +00:00
|
|
|
!qtHaveModule(widgets): SUBDIRS -= widgets
|
|
|
|
!qtHaveModule(printsupport): SUBDIRS -= printsupport
|
2012-12-21 11:09:56 +00:00
|
|
|
!qtHaveModule(concurrent): SUBDIRS -= concurrent
|
2013-02-19 12:06:34 +00:00
|
|
|
!qtHaveModule(network): SUBDIRS -= network
|
2014-12-19 01:19:19 +00:00
|
|
|
|
|
|
|
# Disable the QtDBus tests if we can't connect to the session bus
|
|
|
|
qtHaveModule(dbus) {
|
2015-09-10 11:27:50 +00:00
|
|
|
!system("dbus-send --session --type=signal / local.AutotestCheck.Hello >/dev/null 2>&1") {
|
|
|
|
contains(QT_CONFIG, dbus-linked): \
|
|
|
|
error("QtDBus is enabled but session bus is not available. Please check the installation.")
|
|
|
|
else: \
|
|
|
|
warning("QtDBus is enabled with runtime support, but session bus is not available. Skipping QtDBus tests.")
|
2014-12-19 01:19:19 +00:00
|
|
|
SUBDIRS -= dbus
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
SUBDIRS -= dbus
|
|
|
|
}
|