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