diff options
author | Elvis Lee <kwangwoong.lee@lge.com> | 2017-04-26 12:29:24 +0900 |
---|---|---|
committer | Dominik Holland <dominik.holland@qt.io> | 2020-06-11 09:10:01 +0200 |
commit | ab6fd84c62ff4a72696798dcf6598dd6a44389f6 (patch) | |
tree | 07a11e3be0eeaaccf3b404238fd3bd1405779feb /src/gui/configure.json | |
parent | c549ff3fd4e0ae770e6728f541db2a257d4eabd8 (diff) |
Make it possible to avoid loading comments from JPEG and PNG files
Skip reading JPEG and PNG comments information from the header to save
the memory.
This can now be configured through the feature system.
Change-Id: I3744312f69aa3201d5188776cbd99fe690b75d32
Task-number: QTBUG-83123
Pick-to: 5.15
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'src/gui/configure.json')
-rw-r--r-- | src/gui/configure.json | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/configure.json b/src/gui/configure.json index 377865679d..af513346a2 100644 --- a/src/gui/configure.json +++ b/src/gui/configure.json @@ -1366,6 +1366,13 @@ "condition": "features.png && libs.libpng", "output": [ "privateFeature" ] }, + "imageio-text-loading": { + "label": "Image Text section loading", + "output": [ + "privateFeature", + { "type": "define", "negative": true, "name": "QT_NO_IMAGEIO_TEXT_LOADING" } + ] + }, "qpa_default_platform": { "label": "QPA default platform", "condition": "features.gui", |