Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-76020

Write a "Qt QmlCompiler" module

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P2: Important
    • 6.0
    • None
    • QML: Compiler
    • None

    Description

      This needs to be one library, that can read QML2 or QML3 source code and generate:

      • C++​ code from QML3
      • Byte code​ from both QML2 and QML3
      • (Modified) QML source code​ from both QML2 and QML3
        It will be used in:
      • the QML language server​ to be written
      • the Code model and rewriter in Qt Creator/Design Studio​
      • the QML compiler​
        The code model needs to be mutable. After parsing the source code it needs to present some representation of the resulting components that allows you to add and remove properties, change bindings, even add and remove whole components. Any transformation of this representation should then be usable for generating the above mentioned output formats.

      Attachments

        Issue Links

          Activity

            People

              fawzi Fawzi Mohamed
              ulherman Ulf Hermann
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: