Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Entry point of QML application?

    General and Desktop
    2
    2
    774
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mikecurl91 last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • sierdzio
        sierdzio Moderators last edited by

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

        (Z(:^

        1 Reply Last reply Reply Quote 0
        • First post
          Last post