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. Does QML pages which are embedded with .qrc runs faster than QML pages that called on runtime ?
QtWS25 Last Chance

Does QML pages which are embedded with .qrc runs faster than QML pages that called on runtime ?

Scheduled Pinned Locked Moved QML and Qt Quick
4 Posts 4 Posters 1.5k 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.
  • A Offline
    A Offline
    aabc
    wrote on last edited by
    #1

    Does QML pages which are embedded with .qrc runs faster than QML pages that called on runtime ?

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

      No idea. Care to do a benchmark? I guess it will run slower if compression is turned on, but without compression - I'm not sure, there probably is not much difference.

      (Z(:^

      1 Reply Last reply
      0
      • F Offline
        F Offline
        fdrk
        wrote on last edited by
        #3

        I never noted any difference. The easiest way is to use a resource file so I'd stick to that unless you want to update your qml without rebuilding your project.
        Depending on your target platform (cpu & IO) and code one way or the other will be faster.

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andre
          wrote on last edited by
          #4

          Benchmarking is the only answer to the question, and that answer will be only valid for your system. Also, it depends on how you define "runs faster" and on your actual QML, I'd wager.

          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