diff options
author | Jake Petroules <jake.petroules@qt.io> | 2016-12-03 02:24:55 -0800 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2016-12-15 16:39:19 +0000 |
commit | a3a8c24d6ecf894072b844e5428a11fd567fa027 (patch) | |
tree | ea17246250f445001b3aed3184984dc22301d34a /configure.json | |
parent | 21a247adb47a45a23c0e014bd42979ccbeb11488 (diff) |
Introduce the app store compliance configure option
QtWebEngine requires this in order to disable code that is not allowed
on the Mac App Store. The option is too generic to go directly into
QtWebEngine however, as it can be used to toggle additional features in
qtbase as well as on platforms other than macOS.
Change-Id: I556298f4b654a8904c33002ef097a75e2e38938e
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'configure.json')
-rw-r--r-- | configure.json | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.json b/configure.json index 1bf59eb71d..c13f44ed00 100644 --- a/configure.json +++ b/configure.json @@ -57,6 +57,7 @@ "accessibility": "boolean", "android-style-assets": "boolean", + "appstore-compliant": "boolean", "avx": "boolean", "avx2": "boolean", "avx512": { "type": "boolean", "name": "avx512f" }, @@ -526,6 +527,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 == ''", @@ -1102,6 +1109,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" } ] }, { |