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.fra...@gmail.com> wrote: > > Can you use a ifdef clause? like this > http://doc.qt.io/qt-5/qtglobal.html#Q_OS_ANDROID > <http://doc.qt.io/qt-5/qtglobal.html#Q_OS_ANDROID> > > > Em Wed Feb 04 2015 at 10:03:43 AM, Nuno Santos <nunosan...@imaginando.pt > <mailto:nunosan...@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@qt-project.org <mailto:Interest@qt-project.org> > http://lists.qt-project.org/mailman/listinfo/interest > <http://lists.qt-project.org/mailman/listinfo/interest>
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest