[Interest] Qt Purchasing API on Windows

2015-02-04 Thread Nuno Santos
Hi, I usually develop on a Mac. I'm building a mobile app with in app purchasing options. Qt Purchasing API doesn't work on a Mac, but it runs anyway. But now, that i'm running the project on Windows, when I try to launch the app, it says: QQmlApplicationEngine failed to load component qrc:/q

Re: [Interest] Qt Purchasing API on Windows

2015-02-04 Thread Daniel França
Can you use a ifdef clause? like this http://doc.qt.io/qt-5/qtglobal.html#Q_OS_ANDROID Em Wed Feb 04 2015 at 10:03:43 AM, Nuno Santos escreveu: > Hi, > > I usually develop on a Mac. I'm building a mobile app with in app > purchasing options. > > Qt Purchasing API doesn't work on a Mac, but it r

Re: [Interest] Qt Purchasing API on Windows

2015-02-04 Thread Nuno Santos
Not in Qml as far as I know. The thing is that this shouldn’t be this way. Qt Purchasing doesn’t work on Mac also but it is able to find the module and avoid the error. > On 04 Feb 2015, at 11:43, Daniel França wrote: > > Can you use a ifdef clause? like this > http://doc.qt.io/qt-5/qtglobal.

Re: [Interest] Qt Purchasing API on Windows

2015-02-04 Thread Harri Pasanen
So presumably the mac Qt has a dummy version of the module that is omitted from Windows. I haven't looked at the module in question, but I would imagine just dropping a similar module to windows would solve the issue. Possibly even just copying it from Mac, if it is QML only. Just my 2 cents