Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > 5e2798961fe52ae2e6d5465624b36ff1 > files > 38

qtpurchasing5-doc-5.12.6-1.mga7.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qtpurchasing-overview.qdoc -->
  <title>Qt Purchasing 5.12.6</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td >Qt 5.12</td><td >Qt Purchasing</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.12.6 Reference Documentation</td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#in-app-purchases">In-App Purchases</a></li>
<li class="level1"><a href="#getting-started">Getting Started</a></li>
<li class="level2"><a href="#the-store">The Store</a></li>
<li class="level2"><a href="#writing-the-code">Writing the Code</a></li>
<li class="level1"><a href="#examples">Examples</a></li>
<li class="level1"><a href="#licenses-and-attributions">Licenses and Attributions</a></li>
<li class="level1"><a href="#api-reference">API Reference</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Qt Purchasing</h1>
<span class="subtitle"></span>
<!-- $$$qtpurchasing-index.html-description -->
<div class="descr"> <a name="details"></a>
<p>Qt Purchasing is an add-on library that enables Qt applications to support in-app purchases. It is a cross-platform library that currently supports purchases made to the Mac App Store on OS X, App Store on iOS, and Google Play on Android.</p>
<a name="in-app-purchases"></a>
<h2 id="in-app-purchases">In-App Purchases</h2>
<p>In-app purchases are a way to monetize an application. These purchases are made from inside the application and can include anything from unlocking content to virtual items. The Qt Purchasing API is built on the system APIs for in-app purchases, which means the purchase process is more familiar to the user, and the information already stored by the platform (such as credit card information) can be used to simplify the purchase process.</p>
<a name="getting-started"></a>
<h2 id="getting-started">Getting Started</h2>
<p>Qt Purchasing provides C++ classes and QML types to access information about in-app products registered in the external store on the current platform, as well as to request purchases for those products.</p>
<a name="the-store"></a>
<h3 id="the-store">The Store</h3>
<p>The in-app products must be registered in the target stores, before they can be queried or purchased in an application. We recommend using the same identifiers for the products in each store, as it simplifies the code to query and purchase the products.</p>
<ul>
<li><a href="qtpurchasing-googleplay.html">Registering Products in Google Play</a></li>
<li><a href="qtpurchasing-appstore.html">Registering Products in App Store</a></li>
<li><a href="qtpurchasing-windowsstore.html">Registering Products in Windows Store</a></li>
</ul>
<a name="writing-the-code"></a>
<h3 id="writing-the-code">Writing the Code</h3>
<p>Depending on what fits best with the application, you can choose to use either C++ or QML to support in-app purchasing. If most of the user interface is written in QML, we recommend that you use the QML types, which provide a simple and declarative point of access for the products in the store.</p>
<ul>
<li><a href="qtpurchasing-gettingstarted-qml.html">Getting Started with Qt Purchasing in QML</a></li>
<li><a href="qtpurchasing-gettingstarted-cpp.html">Getting started with Qt Purchasing in C++</a></li>
</ul>
<a name="examples"></a>
<h2 id="examples">Examples</h2>
<p>Take a look at the <a href="qtpurchasing-examples.html">Qt Purchasing Examples</a> for a demonstration on how the APIs can be used in applications.</p>
<a name="licenses-and-attributions"></a>
<h2 id="licenses-and-attributions">Licenses and Attributions</h2>
<p>Qt Purchasing is available under commercial licenses from The Qt Company. In addition, it is available under the GNU Lesser General Public License, version 3. See Qt Licensing for further details.</p>
<p>Furthermore Qt Purchasing on Android contains third party modules under the following permissive licenses:</p>
<div class="table"><table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="qtpurchasing-attribution-base64decoder.html">Base64 Decoder</a></p></td><td class="tblDescr"><p>Apache License 2.0</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qtpurchasing-attribution-inappservice.html">In-app billing service</a></p></td><td class="tblDescr"><p>Apache License 2.0</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qtpurchasing-attribution-pkeyverify.html">Public Key Verification</a></p></td><td class="tblDescr"><p>Apache License 2.0</p></td></tr>
</table></div>
<a name="api-reference"></a>
<h2 id="api-reference">API Reference</h2>
<ul>
<li><a href="qtpurchasing-qmlmodule.html">Qt Purchasing QML Types</a></li>
<li><a href="qtpurchasing-module.html">Qt Purchasing C++ Classes</a></li>
</ul>
</div>
<!-- @@@qtpurchasing-index.html -->
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2019 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br/>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br/>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>