Registry / other / qt5-purchasing

qt5-purchasing

JSON →
library5.15.18vcpkgunverified

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.

vcpkg install qt5-purchasing
INSTALL
IMPORT
SIG · QT5-PURCHASING
Q
qt5-purchasing
othercppv5.15.18
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

QtPurchasing/QtPurchasing
#include <QtPurchasing/QtPurchasing>

Register and purchase an in-app product

#include <QtPurchasing/QInAppProduct> #include <QtPurchasing/QInAppStore> #include <QCoreApplication> int main(int argc, char *argv[]) { QCoreApplication app(argc, argv); QInAppStore store; QInAppProduct *product = store.registerProduct(QInAppProduct::Consumable, "com.example.product"); QObject::connect(product, &QInAppProduct::purchaseSucceeded, [&]() { qDebug() << "Purchase succeeded"; app.quit(); }); product->purchase(); return app.exec(); }
Debug
Known issues
gotchaRequires Qt5 core and platform-specific store setup
fix
Ensure Qt5::Core and platform-specific dependencies (e.g., StoreKit on iOS) are linked
affects: *
Upgrade
Version history
5.15.18latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources

No resource links recorded.

qt5-purchasing — pip install qt5-purchasing · libregistry