2011-04-27 10:05:43 +00:00
|
|
|
TEMPLATE = subdirs
|
|
|
|
|
2019-10-03 10:22:08 +00:00
|
|
|
# Tests with developer-build started failing on qemu-armv7/armv8 after commit
|
|
|
|
# b88acae7a8e773c307e44f84da037d01d19e60f7 in qt5.
|
|
|
|
boot2qt:qtConfig(private_tests): return()
|
|
|
|
|
2018-11-07 14:20:47 +00:00
|
|
|
uikit {
|
|
|
|
SUBDIRS = corelib
|
|
|
|
qtHaveModule(gui): SUBDIRS += gui
|
|
|
|
return()
|
|
|
|
}
|
2014-12-19 01:19:19 +00:00
|
|
|
|
2018-11-07 14:20:47 +00:00
|
|
|
# Order by dependency [*], then alphabetic. [*] If bugs in part A of
|
|
|
|
# our source would break tests of part B, then test A before B.
|
|
|
|
SUBDIRS += testlib
|
|
|
|
qtConfig(process):!cross_compile: SUBDIRS += tools
|
|
|
|
SUBDIRS += corelib
|
|
|
|
!cross_compile: SUBDIRS += cmake
|
|
|
|
qtHaveModule(concurrent): SUBDIRS += concurrent
|
|
|
|
# QTBUG-63915: boot2qt fails dbus
|
|
|
|
qtHaveModule(dbus):!cross_compile:!boot2qt {
|
|
|
|
# Disable the QtDBus tests if we can't connect to the session bus
|
|
|
|
system("dbus-send --session --type=signal / local.AutotestCheck.Hello >$$QMAKE_SYSTEM_NULL_DEVICE 2>&1") {
|
|
|
|
SUBDIRS += dbus
|
|
|
|
} else {
|
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
|
|
|
}
|
|
|
|
}
|
2018-11-07 14:20:47 +00:00
|
|
|
qtHaveModule(gui): SUBDIRS += gui
|
|
|
|
qtHaveModule(network):!winrt: SUBDIRS += network
|
|
|
|
qtHaveModule(opengl):!winrt: SUBDIRS += opengl
|
|
|
|
qtHaveModule(printsupport): SUBDIRS += printsupport
|
|
|
|
qtHaveModule(sql): SUBDIRS += sql
|
|
|
|
qtHaveModule(widgets): SUBDIRS += widgets
|
|
|
|
qtHaveModule(xml): SUBDIRS += xml
|
|
|
|
!cross_compile: SUBDIRS += installed_cmake
|
|
|
|
SUBDIRS += other
|
2017-10-20 13:09:29 +00:00
|
|
|
|
2018-11-07 14:20:47 +00:00
|
|
|
installed_cmake.depends = cmake
|