summaryrefslogtreecommitdiffstats
path: root/src/network/configure.json
diff options
context:
space:
mode:
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"
]
}
]