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. Creating multiple QML objects simultaneously

Creating multiple QML objects simultaneously

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 231 Views
  • 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.
  • Q Offline
    Q Offline
    QTLeearn
    wrote on 1 Mar 2021, 17:02 last edited by
    #1
    This post is deleted!
    P 1 Reply Last reply 1 Mar 2021, 18:45
    0
    • Q QTLeearn
      1 Mar 2021, 17:02

      This post is deleted!

      P Offline
      P Offline
      Pablo J. Rogina
      wrote on 1 Mar 2021, 18:45 last edited by
      #2

      @QTLeearn said in Creating multiple QML objects simultaneously:

      Qt.createQmlObject

      Not that I've used it, but from documentation that method will return one object.

      Returns a new object created from the given qml string which will have the specified parent, or null if there was an error in creating the object.

      So your example QML string seems not suitable.

      However, I expect (just my assumption) that multiple nested objects could be created from a QML string, given that just one of them is the parent of the remaining ones.

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      2

      1/2

      1 Mar 2021, 17:02

      • Login

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