From 17515f1b621952846237dfcdd401bb76f132a20d Mon Sep 17 00:00:00 2001 From: Tasuku Suzuki Date: Sat, 14 Jan 2017 12:17:39 +0900 Subject: Fix build without feature.imageformatplugin Change-Id: I28c146bfa1795794ad27d27c458970c5127cca67 Reviewed-by: Lars Knoll --- src/gui/configure.json | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui/configure.json') diff --git a/src/gui/configure.json b/src/gui/configure.json index 01566ad35b..154ba63f00 100644 --- a/src/gui/configure.json +++ b/src/gui/configure.json @@ -636,6 +636,7 @@ }, "gif": { "label": "GIF", + "condition": "features.imageformatplugin", "output": [ "privateFeature", { "type": "define", "negative": true, "name": "QT_NO_IMAGEFORMAT_GIF" } @@ -643,11 +644,13 @@ }, "ico": { "label": "ICO", + "condition": "features.imageformatplugin", "output": [ "privateFeature", "feature" ] }, "jpeg": { "label": "JPEG", "disable": "input.libjpeg == 'no'", + "condition": "features.imageformatplugin", "output": [ "privateFeature", { "type": "define", "negative": true, "name": "QT_NO_IMAGEFORMAT_JPEG" } -- cgit v1.2.3