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
|
|
|
|
|
2016-02-16 14:29:59 +00:00
|
|
|
uikit: SUBDIRS = corelib gui
|
2014-01-16 10:00:30 +00:00
|
|
|
|
2015-09-10 14:16:56 +00:00
|
|
|
cross_compile: SUBDIRS -= tools cmake installed_cmake
|
2017-03-02 10:31:30 +00:00
|
|
|
else:!qtConfig(process): 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
|
2016-02-02 10:41:22 +00:00
|
|
|
!qtHaveModule(dbus): SUBDIRS -= dbus
|
2017-01-09 10:23:10 +00:00
|
|
|
!qtHaveModule(xml): SUBDIRS -= xml
|
|
|
|
!qtHaveModule(sql): SUBDIRS -= sql
|
2014-12-19 01:19:19 +00:00
|
|
|
|
|
|
|
# Disable the QtDBus tests if we can't connect to the session bus
|
2016-02-02 10:41:22 +00:00
|
|
|
!cross_compile:qtHaveModule(dbus) {
|
2015-09-10 11:27:50 +00:00
|
|
|
!system("dbus-send --session --type=signal / local.AutotestCheck.Hello >/dev/null 2>&1") {
|
2016-08-05 11:35:39 +00:00
|
|
|
qtConfig(dbus-linked): \
|
2015-09-10 11:27:50 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|