configure: Tie -appstore-compliant to QT_APPLE_NO_PRIVATE_APIS
Pick-to: 6.3 6.2 Change-Id: Ieb0f7398498483d5b48a16623dfc28bb6fb55f0b Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
987b896b4e
commit
2a192c5f18
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user