Qt Purchasing C++ Classes

Provides C++ classes for in-app purchasing. 更多...

QInAppProduct A product registered in the store
QInAppStore Main entry point for managing in-app purchases
QInAppTransaction Contains information about a transaction in the external app store

详细描述

要包括模块类定义,使用以下指令:

#include <QtPurchasing>
					

要链接到模块,添加此行到 qmake .pro 文件:

QT += purchasing
					

有关在应用程序中使用这些类的更多信息,见 Qt Purchasing 文档编制。