Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-109293 qmltc: Investigate cmake qt_add_qml_module api
  3. QTBUG-109295

qmltc: support qml modules (static + shared ones)

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Unresolved
    • P2: Important
    • 6.7
    • QML: Compiler

    Description

      Once QTBUG-109294 and QTBUG-109274 are done, implement qmltc support for modules (I think it will be mainly fixing the cmake api to give all needed import paths to qmltc), try to make the example work with the newly added support and document the changes needed to make the module example type-compilable!

      This probably implies needing a way to map QQmlJSScopes to the compiled headers of types living in different modules. This could be achieved either by using a naming convention (The headerpath of type X can always be obtained from X's name) (easy way) or by saving the mapping in a ".qmltctypes" generated from a previous qmltc run (may require more work).

      Attachments

        Activity

          People

            sami.shalayel Sami Shalayel
            sami.shalayel Sami Shalayel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: