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

Translate QML to Qt

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 2.9k 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
    apap_
    wrote on last edited by
    #1

    Hi trolls,

    I was wondering if there's a way to translate automatically QML to Qt, in order to recover C++ Qt code from QML code ?

    Regards

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

      QML is Qt, and QML isn't, and isn't translated to, C++ code.

      You might be able to hack something together that does something like what you want, but it is not what Qt is doing natively with QML.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        apap_
        wrote on last edited by
        #3

        Ok thanks for answer, I try to understand the mechanisms of QML in order to compare performances between Qt C++ and Qt quick. In other words, what is QML cost compare to Qt C++ ?

        Am I right if I say that at run time QML code is interpreted and so QDeclarative objects are instancied ? This is achieved by QdeclarativeEngine ?

        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