Important: Please read the Qt Code of Conduct -

Entry point of QML application?

  • Once I've design the entire interfae of my app, I'll start to develop the engine C++ code...
    my doubt is about the entry point of the engine... when dows it starts? On Qwidget apps I can do this from the main app class, but in a QML app, the "main.cpp" is a simply script for the loading of the interface!
    After the loading, how can I run the app?

  • Moderators

    When you setSource() on QQuickView, the engine starts its work.

Log in to reply