[Interest] In-App purchase for the Mac App Store

Till Oliver Knoll till.oliver.knoll at gmail.com
Tue May 22 23:54:59 CEST 2012



Am 22.05.2012 um 20:47 schrieb norulez at me.com:

> Hello,
> 
> ... but I don't know how to combine C++/Qt with the Objective-C/C++.

Use Objective-C++ (*.mm) code to mix C++ code with Objective-C (limitations apply, google for "Objective-C++").

Use the qmake OBJECTIVE_SOURCES variable to add your *.mm sources and have them compiled and linked with the rest of your C++ Qt project.

That let's you easily call Objective-C APIs and even instantiate Objective-C classes from within C++.

Haven't read everything, but I guess this here shows you concrete code:

  http://el-tramo.be/blog/mixing-cocoa-and-qt/

> I also read that Qt provides a mechanism for In-App purchases, but I think this is only for android, isn't it?

Haven't heard about that, but maybe its more a Nokia store thing?

On the other hand it's easy to write plugins with Qt and load them dynamically at runtime. Any runtime "Did the user pay for this?" checks beyond that are off course highly "App Store dependent".

Cheers,
> 
  Oliver


More information about the Interest mailing list