summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2019-05-14 07:42:28 +0200
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2019-05-14 09:13:15 +0000
commit81061285220ccada412d4891f2a76867844dd883 (patch)
treec56717f326966f45f898c78c54e6201309dac2e9
parent05b3ecc1c2ea89eb847371b2fb63215ffb953b54 (diff)
downloadqtdoc-81061285220ccada412d4891f2a76867844dd883.tar.gz
Add a note about receipt validation for the macOS store
If receipt validation were automated by Qt, it would not be very resilient as copy protection. Since the documentation specifically mentions that you should protect the validation code, we should not encourage unsafe patterns and therefore we should not be handling the copy protection code in Qt. Task-number: QTBUG-52655 Change-Id: I3a75f0546d2e503775ca433e275e1714fa2e580a Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
-rw-r--r--doc/src/platforms/macos.qdoc9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/src/platforms/macos.qdoc b/doc/src/platforms/macos.qdoc
index 632620b8..a9a5f2a7 100644
--- a/doc/src/platforms/macos.qdoc
+++ b/doc/src/platforms/macos.qdoc
@@ -211,6 +211,15 @@
\li \l{Qt for macOS - Deployment}
\endlist
+ \note For selling applications in the macOS App Store, special rules apply.
+ In order to pass validation, the application must verify the existence of
+ a valid receipt before executing any code. Since this is a copy protection
+ mechanism, steps should be taken to avoid common patterns and obfuscate the
+ code that validates the receipt as much as possible. Thus, this cannot be
+ automated by Qt, but requires some platform-specific code written
+ specifically for the application itself. More information can be found in
+ \l{https://developer.apple.com/library/archive/releasenotes/General/ValidateAppStoreReceipt/Chapters/ValidateLocally.html}{Apple's documentation}.
+
\section1 \macos Issues
The page below covers specific issues and recommendations for creating