[Interest] Qt Purchasing API on Windows
Harri Pasanen
harri at mpaja.com
Wed Feb 4 14:28:19 CET 2015
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,
Harri
On 04/02/2015 13:17, Nuno Santos wrote:
> 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 <daniel.franca at gmail.com
>> <mailto:daniel.franca at gmail.com>> wrote:
>>
>> 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
>> <nunosantos at imaginando.pt <mailto:nunosantos at imaginando.pt>> 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 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:/qml/main.qml:3 module "QtPurchasing" is not installed
>>
>> Is there anyway of bypassing this error? Otherwise I need to
>> comment it
>> out in order to test this on Windows and this can become REALLY
>> boring
>> and tedious.
>>
>> Any ideas?
>>
>> Thanks,
>>
>> Regards,
>>
>> Nuno
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org <mailto:Interest at qt-project.org>
>> http://lists.qt-project.org/mailman/listinfo/interest
>>
>
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150204/414d74d5/attachment.html>
More information about the Interest
mailing list