summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-12-30 11:11:18 +0100
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-12-30 11:11:18 +0100
commitabfb7b84d33726fa7b5fdff29371569018afdf8f (patch)
tree24be73ad5e75a3b67757cc8d8ecda837a08dc3b4
parent6124b900d9507687c21e43e68f495bbee9d8d45b (diff)
parent31338f220f1ad1d0b8c050c48b04e733c4b62e1b (diff)
Merge remote-tracking branch 'origin/5.14' into 5.15
Conflicts: .qmake.conf Change-Id: I89d7e0498ff3f7818bfe8c1a3a6da3c9440ab30a
-rw-r--r--src/imageformats/configure.json16
-rw-r--r--src/plugins/imageformats/imageformats.pro6
2 files changed, 10 insertions, 12 deletions
diff --git a/src/imageformats/configure.json b/src/imageformats/configure.json
index 3b38fae..4718398 100644
--- a/src/imageformats/configure.json
+++ b/src/imageformats/configure.json
@@ -34,7 +34,8 @@
]
},
"sources": [
- "-ljasper"
+ { "type": "pkgConfig", "args": "jasper" },
+ { "libs": "-ljasper" }
]
},
"mng": {
@@ -55,7 +56,8 @@
]
},
"sources": [
- "-lmng"
+ { "type": "pkgConfig", "args": "libmng" },
+ { "libs": "-lmng" }
]
},
"tiff": {
@@ -82,7 +84,8 @@
]
},
"sources": [
- "-ltiff"
+ { "type": "pkgConfig", "args": "libtiff-4" },
+ { "libs": "-ltiff" }
]
},
"webp": {
@@ -112,7 +115,8 @@
]
},
"sources": [
- "-lwebp -lwebpdemux -lwebpmux"
+ { "type": "pkgConfig", "args": "libwebp libwebpmux libwebpdemux" },
+ { "libs": "-lwebp -lwebpdemux -lwebpmux" }
]
}
},
@@ -136,7 +140,7 @@
"tiff": {
"label": "TIFF",
"disable": "input.tiff == 'no'",
- "condition": "features.imageformatplugin",
+ "condition": "features.imageformatplugin && !(config.winrt && arch.i386)",
"output": [
"privateFeature"
]
@@ -151,7 +155,7 @@
"webp": {
"label": "WEBP",
"disable": "input.webp == 'no'",
- "condition": "features.imageformatplugin",
+ "condition": "features.imageformatplugin && !(config.winrt && arch.arm)",
"output": [
"privateFeature"
]
diff --git a/src/plugins/imageformats/imageformats.pro b/src/plugins/imageformats/imageformats.pro
index be1e20a..4116591 100644
--- a/src/plugins/imageformats/imageformats.pro
+++ b/src/plugins/imageformats/imageformats.pro
@@ -21,9 +21,3 @@ qtConfig(jasper) {
} else:darwin: {
SUBDIRS += macjp2
}
-
-winrt {
- SUBDIRS -= tiff \
- tga \
- webp
-}