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 文檔編製。