summaryrefslogtreecommitdiffstats
path: root/configure.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'configure.cmake')
-rw-r--r--configure.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.cmake b/configure.cmake
index 2818db7281..c74847f5f2 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -502,6 +502,9 @@ qt_feature("appstore-compliant" PUBLIC
PURPOSE "Disables code that is not allowed in platform app stores"
AUTODETECT UIKIT OR ANDROID
)
+if(APPLE)
+ qt_feature_definition("appstore-compliant" "QT_APPLE_NO_PRIVATE_APIS")
+endif()
qt_feature("simulator_and_device" PUBLIC
LABEL "Build for both simulator and device"
CONDITION UIKIT AND NOT QT_UIKIT_SDK