From 556907404d9abca53917fc63b2e716987059a2ff Mon Sep 17 00:00:00 2001 From: Valentin Fokin Date: Thu, 19 Jul 2018 15:48:43 +0200 Subject: Fix feature dependencies of qmlscene and qmleasing tools Add missing guard for header include in qmlscene and skip build of qmleasing on disabled feature. This fixes build with -no-feature-action configuration. Change-Id: I3b0f248e57495bbbd9a0250300f2e3ca82a01a72 Reviewed-by: Oswald Buddenhagen --- tools/tools.pro | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'tools/tools.pro') diff --git a/tools/tools.pro b/tools/tools.pro index 22544d60d3..779b656198 100644 --- a/tools/tools.pro +++ b/tools/tools.pro @@ -28,7 +28,13 @@ qtConfig(qml-devtools) { qmlplugindump } } - qtHaveModule(widgets): SUBDIRS += qmleasing + qtHaveModule(widgets) { + QT_FOR_CONFIG += widgets + qtConfig(dialogbuttonbox) { + SUBDIRS += \ + qmleasing + } + } } qtHaveModule(qmltest): SUBDIRS += qmltestrunner qtConfig(private_tests): SUBDIRS += qmljs -- cgit v1.2.3