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 ?
Forum Updated to NodeBB v4.3 + New Features

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 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
    aabc
    wrote on 5 Jul 2012, 09:39 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
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 5 Jul 2012, 09:47 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 9 Jul 2012, 14:57 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 9 Jul 2012, 16:05 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

          1/4

          5 Jul 2012, 09:39

          • Login

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