diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2022-02-01 15:44:06 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-02-17 11:42:36 +0000 |
commit | 166e1d0b596e2900af2f7ac24b193d45e14de99c (patch) | |
tree | 25073a6ecd90d8bf223bf85bd14243d142550a47 /configure.cmake | |
parent | 8f614360c25bdb824005f7b01928b5248e341bd0 (diff) |
configure: Tie -appstore-compliant to QT_APPLE_NO_PRIVATE_APIS
Change-Id: Ieb0f7398498483d5b48a16623dfc28bb6fb55f0b
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit 2a192c5f18d7ddd8d57ba0cd2cf09b4b9c6ce826)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
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 814e8133a6..879764aca7 100644 --- a/configure.cmake +++ b/configure.cmake @@ -506,6 +506,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 |