qt5base-lts/tests/auto/corelib/kernel/kernel.pro
Alex Richardson 44920e7fb2 CMake: Fix building with -DQT_FEATURE_gui=OFF
Some CMake files currently assume that QtGui is always enabled and we
get a configure-time failure without these changes.

Task-number: QTBUG-86053
Change-Id: I28e32c180c32221f32519017bac6b518a19d5983
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2020-09-15 20:05:32 +02:00

52 lines
986 B
Prolog

TEMPLATE=subdirs
SUBDIRS=\
qcoreapplication \
qdeadlinetimer \
qelapsedtimer \
qeventdispatcher \
qeventloop \
qmath \
qmetacontainer \
qmetaobject \
qmetaobjectbuilder \
qmetamethod \
qmetaproperty \
qmetatype \
qmetaenum \
qmimedata \
qobject \
qpointer \
qsharedmemory \
qsignalblocker \
qsignalmapper \
qsocketnotifier \
qsystemsemaphore \
qtimer \
qtranslator \
qvariant \
qwineventnotifier \
qproperty
!qtHaveModule(gui): SUBDIRS -= \
qmimedata \
qvariant \
qmetatype
!qtHaveModule(network): SUBDIRS -= \
qeventloop \
qobject \
qsocketnotifier
!qtConfig(private_tests): SUBDIRS -= \
qsocketnotifier \
qsharedmemory \
qproperty
# This test is only applicable on Windows
!win32*: SUBDIRS -= qwineventnotifier
android|uikit: SUBDIRS -= qobject qsharedmemory qsystemsemaphore
!qtConfig(systemsemaphore): SUBDIRS -= \
qsystemsemaphore