QML 5.3 iOS compilation of pure QML app
- by Nathaniel Johnson
I have an application written in QML. Initially, I used the standard C++ bootstrap for the app.
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
// A bunch of components and data models written in C++
QQmlApplicationEngine engine;
engine.load(QUrl(QStringLiteral("qrc:///main.qml")));
return app.exec();
}
The bulk of the app is in QML and the more I work with QML, the happier I am with it and the more I feel comfortable converting the C++ pieces to QML. So, it comes to one risk that I wanted to ask about.
If I convert the app to a pure QML application like the kind generated by the Qt Quick UI application wizard with no C++ and designed to be run with qmlscene will I be able to compile it for iOS when the time to port it comes or will I end up just converting it back to the C++ loader form?
TL;DR
Can pure QML (no C++) apps be compiled and run on iOS devices?