Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

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

    QML and Qt Quick
    4
    4
    1312
    Loading More Posts
    • 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
      aabc last edited by

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

      1 Reply Last reply Reply Quote 0
      • sierdzio
        sierdzio Moderators last edited by

        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 Reply Quote 0
        • F
          fdrk last edited by

          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 Reply Quote 0
          • A
            andre last edited by

            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 Reply Quote 0
            • First post
              Last post