diff options
author | Liang Qi <liang.qi@qt.io> | 2018-05-15 14:35:48 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2019-04-02 09:15:40 +0000 |
commit | a33e3aeac74c8fc8d1fff7a244083d96f9bba70f (patch) | |
tree | 709a48beb8b7ee484b3c5d57fbbaa54315091f41 /src/plugins/imageformats/imageformats.pro | |
parent | dbfcea2a638d9223bb8d4d9ffc63b0d294b9f97d (diff) |
Move qtimageformats over to the new config system
Task-number: QTBUG-44318
Task-number: QTBUG-62259
Change-Id: Ide5c28015c46b12ee3f21d06badd69db8bed1281
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'src/plugins/imageformats/imageformats.pro')
-rw-r--r-- | src/plugins/imageformats/imageformats.pro | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/plugins/imageformats/imageformats.pro b/src/plugins/imageformats/imageformats.pro index d6c59ee..be1e20a 100644 --- a/src/plugins/imageformats/imageformats.pro +++ b/src/plugins/imageformats/imageformats.pro @@ -2,17 +2,21 @@ TEMPLATE = subdirs SUBDIRS = \ # dds \ tga \ - tiff \ - wbmp \ - webp + wbmp + +include($$OUT_PWD/../../imageformats/qtimageformats-config.pri) +QT_FOR_CONFIG += imageformats-private + +qtConfig(tiff): SUBDIRS += tiff +qtConfig(webp): SUBDIRS += webp darwin: SUBDIRS += macheif qtConfig(regularexpression): \ SUBDIRS += icns -config_libmng: SUBDIRS += mng -config_jasper { +qtConfig(mng): SUBDIRS += mng +qtConfig(jasper) { SUBDIRS += jp2 } else:darwin: { SUBDIRS += macjp2 |