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. Having many Loaders in my qml File
Qt 6.11 is out! See what's new in the release blog

Having many Loaders in my qml File

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
4 Posts 3 Posters 520 Views 3 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
    Anita
    wrote on last edited by
    #1

    Will having 4 Loaders in a single qml file pose any problem wrt loading time ?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      If anything, it should make your file load faster.

      (Z(:^

      1 Reply Last reply
      2
      • dheerendraD Offline
        dheerendraD Offline
        dheerendra
        Qt Champions 2022
        wrote on last edited by
        #3

        Are you loading 4 different qml files in one single QML file ? It does not depend on how many loader objects you have. It depends on how big is the component you are loading.

        Dheerendra
        @Community Service
        Certified Qt Specialist
        http://www.pthinks.com

        1 Reply Last reply
        5
        • A Offline
          A Offline
          Anita
          wrote on last edited by
          #4

          @dheerendra yes 4 different qml files, so if the file or the object of the qml is created at runtime how much does it affect the performance?
          Which is better having the QML's statically instantiated(created before runtime) or created dynamically?

          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