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. Parsing of QML: Question on performance

Parsing of QML: Question on performance

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

    Hi all,

    I have a question regarding QtQuick and the parsing of QML files: The parsing seems to me as a rather expensive operation. How does QtQuick handle this and still run smooth on realtime applications?

    Best Regards,
    Bubbas

    1 Reply Last reply
    0
    • G Offline
      G Offline
      giesbert
      wrote on last edited by
      #2

      Please define "realtime":http://en.wikipedia.org/wiki/Real-time_computing a bit more.

      Are you talking about guaranteed fast response times, as needed in industry for several machines?

      Nokia Certified Qt Specialist.
      Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

      1 Reply Last reply
      0
      • B Offline
        B Offline
        Bubbas
        wrote on last edited by
        #3

        Hi,

        Sorry for my vauge qestion, what I mean by realtime is an application where the user gets imediate response and where the applicatuion is feed and displayes data continously.

        I'm curious since I've seen quite advanced QtQuick applications running on phones and other embedded systems and still manage to run smooth. Parsing QML files continously seems like something quite cumbersome to do "on the fly".

        Best Regards,
        Bubbas

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

          It is not continually parsed, AFAIK. A file is parsed as it is loaded, and corresponding objects are created, set up and interconnected with signals and slots based on the definitions in the file. The javascript stuff is loaded into the javascript engine. How this works exactly, I don't know, but there is no continuous parsing going on AFAIK. If you really want to know how it works under the hood: the sources are all there ;)

          As you tell yourself: Quick is per formant enough for real, quite complex applications. I am not saying that it is without problems, but it is not doing badly either.

          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