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.cmake | |
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.cmake')
-rw-r--r-- | src/gui/configure.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/configure.cmake b/src/gui/configure.cmake index 9ee5089f49..51acfaf6f3 100644 --- a/src/gui/configure.cmake +++ b/src/gui/configure.cmake @@ -812,6 +812,10 @@ qt_feature("system-png" PRIVATE ENABLE INPUT_libpng STREQUAL 'system' DISABLE INPUT_libpng STREQUAL 'qt' ) +qt_feature("imageio-text-loading" PRIVATE + LABEL "Image Text section loading" +) +qt_feature_definition("imageio-text-loading" "QT_NO_IMAGEIO_TEXT_LOADING" NEGATE) qt_feature("sessionmanager" PUBLIC SECTION "Kernel" LABEL "Session Management" |