summaryrefslogtreecommitdiffstats
path: root/configure.json
diff options
context:
space:
mode:
Diffstat (limited to 'configure.json')
-rw-r--r--configure.json16
1 files changed, 15 insertions, 1 deletions
diff --git a/configure.json b/configure.json
index 77f956ed1a..51eab72df2 100644
--- a/configure.json
+++ b/configure.json
@@ -59,6 +59,7 @@
"accessibility": "boolean",
"android-style-assets": "boolean",
+ "appstore-compliant": "boolean",
"avx": "boolean",
"avx2": "boolean",
"avx512": { "type": "boolean", "name": "avx512f" },
@@ -440,7 +441,8 @@
},
"shared": {
"label": "Building shared libraries",
- "condition": "!config.uikit && !config.integrity",
+ "autoDetect": "!config.uikit",
+ "condition": "!config.integrity",
"output": [
"shared",
"publicFeature",
@@ -539,6 +541,12 @@
"autoDetect": "features.debug",
"output": [ "privateFeature", "publicQtConfig" ]
},
+ "appstore-compliant": {
+ "label": "App store compliance",
+ "purpose": "Disables code that is not allowed in platform app stores",
+ "autoDetect": "config.uikit || config.android || config.winrt",
+ "output": [ "publicFeature" ]
+ },
"simulator_and_device": {
"label": "Build for both simulator and device",
"condition": "config.uikit && input.sdk == ''",
@@ -941,6 +949,7 @@
},
"widgets": {
"label": "Qt Widgets",
+ "autoDetect": "!config.tvos && !config.watchos",
"condition": "features.gui",
"output": [
"privateFeature",
@@ -1123,6 +1132,11 @@ Configure with '-qreal float' to create a build that is binary-compatible with 5
{
"message": "Build parts",
"type": "buildParts"
+ },
+ {
+ "type": "feature",
+ "args": "appstore-compliant",
+ "condition": "config.darwin || config.android || config.winrt || config.win32"
}
]
}, {