summaryrefslogtreecommitdiffstats
path: root/src/network/configure.json
diff options
context:
space:
mode:
authorMårten Nordheim <marten.nordheim@qt.io>2020-05-06 18:24:07 +0200
committerMårten Nordheim <marten.nordheim@qt.io>2020-08-06 20:56:42 +0200
commitad1a5bf63fa63532c3267d4f365286dc78288651 (patch)
treea7f026b0397f95e1e2a44ce8acd61b60e3c59e51 /src/network/configure.json
parentaf1544bda242d02690bd092f1d1ed7ca57659529 (diff)
QDecompressHelper: Add brotli support
Task-number: QTBUG-83269 Change-Id: If23b098ee76a4892e4c2c6ce5c635688d8d9138d Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/network/configure.json')
-rw-r--r--src/network/configure.json25
1 files changed, 24 insertions, 1 deletions
diff --git a/src/network/configure.json b/src/network/configure.json
index 6425103a33..a8166340dc 100644
--- a/src/network/configure.json
+++ b/src/network/configure.json
@@ -25,6 +25,21 @@
},
"libraries": {
+ "brotli": {
+ "label": "Brotli Decompression",
+ "test": {
+ "main": [
+ "BrotliDecoderState *state = BrotliDecoderCreateInstance(nullptr, nullptr, nullptr);"
+ ]
+ },
+ "headers": [
+ "brotli/decode.h"
+ ],
+ "sources": [
+ { "type": "pkgConfig", "args": "libbrotlidec" },
+ "-lbrotlidec"
+ ]
+ },
"corewlan": {
"label": "CoreWLan",
"export": "",
@@ -387,6 +402,13 @@
"condition": "features.temporaryfile",
"output": [ "publicFeature", "feature" ]
},
+ "brotli": {
+ "label": "Brotli Decompression Support",
+ "purpose": "Support for downloading and decompressing resources compressed with Brotli through QNetworkAccessManager.",
+ "section": "Networking",
+ "condition": "libs.brotli",
+ "output": [ "publicFeature", "feature" ]
+ },
"localserver": {
"label": "QLocalServer",
"purpose": "Provides a local socket based server.",
@@ -479,7 +501,8 @@ For example:
"ftp",
"sctp",
"system-proxies",
- "gssapi"
+ "gssapi",
+ "brotli"
]
}
]