9c58dd1588
Task-number: QTBUG-60263 Change-Id: I05978915b5bb7ae31069e8e9ae1dc273e483ddb0 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
51 lines
1.5 KiB
Prolog
51 lines
1.5 KiB
Prolog
TEMPLATE = subdirs
|
|
|
|
SUBDIRS += \
|
|
corelib \
|
|
dbus \
|
|
gui \
|
|
network \
|
|
opengl \
|
|
sql \
|
|
testlib \
|
|
tools \
|
|
xml \
|
|
concurrent \
|
|
other \
|
|
widgets \
|
|
printsupport \
|
|
cmake \
|
|
installed_cmake
|
|
|
|
installed_cmake.depends = cmake
|
|
|
|
uikit: SUBDIRS = corelib gui
|
|
|
|
cross_compile: SUBDIRS -= tools cmake installed_cmake
|
|
else:!qtConfig(process): SUBDIRS -= tools
|
|
!qtHaveModule(opengl): SUBDIRS -= opengl
|
|
!qtHaveModule(gui): SUBDIRS -= gui
|
|
!qtHaveModule(widgets): SUBDIRS -= widgets
|
|
!qtHaveModule(printsupport): SUBDIRS -= printsupport
|
|
!qtHaveModule(concurrent): SUBDIRS -= concurrent
|
|
!qtHaveModule(network): SUBDIRS -= network
|
|
!qtHaveModule(dbus): SUBDIRS -= dbus
|
|
!qtHaveModule(xml): SUBDIRS -= xml
|
|
!qtHaveModule(sql): SUBDIRS -= sql
|
|
|
|
# Disable the QtDBus tests if we can't connect to the session bus
|
|
!cross_compile:qtHaveModule(dbus) {
|
|
!system("dbus-send --session --type=signal / local.AutotestCheck.Hello >/dev/null 2>&1") {
|
|
qtConfig(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.")
|
|
SUBDIRS -= dbus
|
|
}
|
|
}
|
|
|
|
# QTBUG-63915
|
|
boot2qt: {
|
|
contains(QT_ARCH, arm64): SUBDIRS -= dbus
|
|
}
|