diff options
author | Valentin Fokin <fokinv@inf.u-szeged.hu> | 2018-07-19 14:55:06 +0200 |
---|---|---|
committer | Zakor Tamas <ztamas@inf.u-szeged.hu> | 2018-10-09 12:12:40 +0000 |
commit | a9867972d00ff24be1bb5d01bb9c05362fbda9ef (patch) | |
tree | a78299d97943f3a6407f6c3fc38e22cceff6445e /src/src.pro | |
parent | 1251d22560474bd5272ed31923bd42122a39f9ae (diff) |
Fix feature dependencies
Skip build of linquist, assistant, designer, pixeltool,
qdbusviewer and distancefieldgenerator on disabled features.
This also fixes build with -no-feature-action configuration.
Change-Id: I0b7de9bae9c33ddb47d83ed577ec0e404bde360d
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/src.pro')
-rw-r--r-- | src/src.pro | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/src.pro b/src/src.pro index 2796171d6..7a1af0078 100644 --- a/src/src.pro +++ b/src/src.pro @@ -4,13 +4,15 @@ qtHaveModule(widgets) { no-png { message("Some graphics-related tools are unavailable without PNG support") } else { - SUBDIRS = assistant \ - pixeltool \ - designer - - qtHaveModule(quick):qtConfig(thread): SUBDIRS += distancefieldgenerator - - linguist.depends = designer + QT_FOR_CONFIG += widgets + qtConfig(pushbutton):qtConfig(toolbutton) { + SUBDIRS = assistant \ + designer \ + pixeltool + + linguist.depends = designer + } + qtHaveModule(quick):qtConfig(thread):qtConfig(toolbutton): SUBDIRS += distancefieldgenerator } } |