5367f76e17
Use QT_REQUIRE_CONFIG in the headers of classes to be disabled. Add headers/source files in the .pro file depending on the configure feature in libraries and tests. Add the necessary exclusions and use QT_CONFIG. Only the widgets/kernel tests were made to compile since also the buttons depend on the action feature and it would become too involved. Task-number: QTBUG-69478 Change-Id: Id5bf88bc108f2bbb14dce8625bfdcb7eb0deb8e3 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
30 lines
512 B
Prolog
30 lines
512 B
Prolog
TEMPLATE=subdirs
|
|
SUBDIRS=\
|
|
qapplication \
|
|
qboxlayout \
|
|
qdesktopwidget \
|
|
qformlayout \
|
|
qgesturerecognizer \
|
|
qgridlayout \
|
|
qlayout \
|
|
qstackedlayout \
|
|
qtooltip \
|
|
qwidget \
|
|
qwidget_window \
|
|
qwidgetmetatype \
|
|
qwidgetsvariant \
|
|
qwindowcontainer \
|
|
qshortcut \
|
|
qsizepolicy
|
|
|
|
darwin:SUBDIRS -= \ # Uses native recognizers
|
|
qgesturerecognizer \
|
|
|
|
!qtConfig(action):SUBDIRS -= \
|
|
qaction \
|
|
qactiongroup \
|
|
qwidgetaction
|
|
|
|
!qtConfig(shortcut): SUBDIRS -= \
|
|
qshortcut
|