summaryrefslogtreecommitdiffstats
path: root/src/plugins/imageformats/imageformats.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/imageformats/imageformats.pro')
-rw-r--r--src/plugins/imageformats/imageformats.pro14
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