QML 5.3 iOS compilation of pure QML app

Posted by Nathaniel Johnson on Stack Overflow See other posts from Stack Overflow or by Nathaniel Johnson
Published on 2014-06-04T20:11:22Z Indexed on 2014/06/04 21:24 UTC
Read the original article Hit count: 309

Filed under:
|
|

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?

© Stack Overflow or respective owner

Related posts about ios

Related posts about qt