Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. [SOLVED]createqmlobject vs loader
Forum Updated to NodeBB v4.3 + New Features

[SOLVED]createqmlobject vs loader

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 944 Views 1 Watching
  • 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.
  • A Offline
    A Offline
    av2306
    wrote on last edited by
    #1

    Hi,

    As per my understandings, createqmlobject/createobject and loader to load dynamic objects.

    What are the advantages with createqmlobject over loader?

    Thanks.

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dasRicardo
      wrote on last edited by
      #2

      Hmm, Loader make the whole job for you.

      • check if the item load is finish and create and display the object
      • you can set properties and signals directly on the loader, it handle everything for you

      createqmlobject make it possible to create the things within Javascript but you need to manage everything by your script or in your loaded component.

      I think there is no really advantages maybe if you use Loader then you have one nesting level more because the loaded component is a child of Loader.

      **Sorry for my english :)

      PLEASE ADD [SOLVED] TO YOUR THREAD TITLE IF IT'S SOLVED.**

      1 Reply Last reply
      0
      • D Offline
        D Offline
        dasRicardo
        wrote on last edited by
        #3

        Please mark thread as solved if it's done thx

        **Sorry for my english :)

        PLEASE ADD [SOLVED] TO YOUR THREAD TITLE IF IT'S SOLVED.**

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved