Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Getting started with QtPurchasing in Qt 6
Forum Updated to NodeBB v4.3 + New Features

Getting started with QtPurchasing in Qt 6

Scheduled Pinned Locked Moved Unsolved Qt 6
3 Posts 2 Posters 593 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    paulmasri
    wrote on last edited by
    #1

    I'm looking to implement in-app purchases and recurring in-app subscriptions in my app. Ideally I'd like to provide cross-platform support (App Store for iPad + Microsoft Store for Windows 10 desktop). Worst case, at least subscriptions in iOS initially.

    Where is QtPurchasing at with Qt 6?

    I've been unable to find much when searching:

    • this getting started page which covers purchases of consumables and unlockables, and restoring purchases. Nothing about subscriptions.
    • several links to messages in the forums from 2019 and earlier, all saying something along the lines of "This is pretty new. Go ask the interest mailing list."
    • this new features in Qt 6.0 page says that QtPurchasing has been "removed and not planned to be developed further." But the above 'getting started' page is specifically for Qt 6 and makes no mention of it being discontinued. Which is confusing.

    I'm guessing things have moved on a certain amount since 2019?? Can someone provide an update? And are there any tutorials out there to help with upskilling? Plus info about how to avoid common pitfalls?

    Or should I be avoiding QtPurchasing and attempting to roll my own? 🙄

    1 Reply Last reply
    0
    • morstM Offline
      morstM Offline
      morst
      wrote on last edited by
      #2

      Hi Paul,

      this might be a little too late to help you, but I am posting this anyway for anybody else stumbling across your question.

      My impression so far is, that there will be no module supplied by Qt for In-App-Purchases.

      So I went ahead and wrote something myself, that I am sharing under the MIT license. It can be found on https://github.com/moritzstoetter/qt6purchasing

      Implementation is rather basic and subscriptions are not covered yet, but it should be quite easy to add that.

      1 Reply Last reply
      1
      • P Offline
        P Offline
        paulmasri
        wrote on last edited by
        #3

        @morst Thank you for posting this. As it happens I haven't started work on the purchasing part of my app. When I get there I'm certain your repo will be very useful in getting me going. If I'm able to extend it for subscriptions I'll fork and submit a PR.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved