summaryrefslogtreecommitdiffstats
path: root/src/gui/configure.json
diff options
context:
space:
mode:
authorElvis Lee <kwangwoong.lee@lge.com>2017-04-26 12:29:24 +0900
committerDominik Holland <dominik.holland@qt.io>2020-06-12 12:24:28 +0200
commitebd4cb43f8682bf22d5bf1d2f49501590c28b7ff (patch)
tree257ab192ef191e7df442ab627813ae7fbbc0e3a3 /src/gui/configure.json
parentb379b301145edd0d88b7ac21e5900cdf3126b877 (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 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io> (cherry picked from commit ab6fd84c62ff4a72696798dcf6598dd6a44389f6)
Diffstat (limited to 'src/gui/configure.json')
-rw-r--r--src/gui/configure.json7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/configure.json b/src/gui/configure.json
index 5ebcdb99b5..1f08795c57 100644
--- a/src/gui/configure.json
+++ b/src/gui/configure.json
@@ -1486,6 +1486,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",