diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2022-02-01 15:44:06 +0100 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2022-02-02 05:25:06 +0100 |
commit | 2a192c5f18d7ddd8d57ba0cd2cf09b4b9c6ce826 (patch) | |
tree | cf94ba156c8ed4ad3179310373b3c0fd6a2bd6a5 /configure.cmake | |
parent | 987b896b4e45ec3bce6608bf9d69a53d3c6c3096 (diff) | |
download | qtbase-2a192c5f18d7ddd8d57ba0cd2cf09b4b9c6ce826.tar.gz |
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>
Diffstat (limited to 'configure.cmake')
-rw-r--r-- | configure.cmake | 3 |
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 |