Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible to use the iOS backend also on macOS #2

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/demos/hangman/purchasing/inapp/inappstore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "../android/androidinapppurchasebackend.h"
#endif

#ifdef Q_OS_IOS
#ifdef Q_OS_DARWIN
#include "../ios/iosinapppurchasebackend.h"
#endif

Expand Down Expand Up @@ -37,7 +37,7 @@ void InAppStore::setupBackend()
{
#if defined Q_OS_ANDROID
d->backend = new AndroidInAppPurchaseBackend;
#elif defined Q_OS_IOS
#elif defined Q_OS_DARWIN
d->backend = new IosInAppPurchaseBackend;
#else
d->backend = new InAppPurchaseBackend;
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/hangman/purchasing/purchasing.pri
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ android {
$$JAVA_CLASS_PATH/Base64DecoderException.java
}

ios {
mac {
#Change the following lines to match your unique App ID
#to enable in-app purchases on iOS
#For example if your App ID is org.qtproject.qt.iosteam.qthangman"
Expand Down