The Qt Purchasing module provides QML types that can be used to query and purchase products registered for the application in the external market place on the current platform.
可以使用以下 import 语句将 QML 类型导入应用程序:
import QtPurchasing 1.0
要链接到模块,添加此行到
qmake
.pro
文件:
QT += purchasing
有关在应用程序中使用这些类型的更多信息,见 Qt Purchasing 文档编制。
Product | A product for in-app purchasing |
Store | Access point to the external market place for in-app purchases |
Transaction | Contains information about an in-app transaction |