XMLWordPrintable

Details

    • Technical task
    • Resolution: Duplicate
    • P3: Somewhat important
    • 6.x
    • QML: Compiler
    • None

    Description

      In qqmljsimporter, some comments hint that enums should be resolved before other types, but they are not in the presence of dependencies.

      Concrete example, when importing Qt.Qml:

      1. import the dependencies
        1. resolve the dependencies enums
        2. resolve the dependencies other types (fails!)
      2. import QtQml itself
        1. resolve the module enums
        2. resolve the other types of the module

      The step marked with "(fails!)" will not be able to resolve the method parameter flags in

      QAbstractItemModel::match(...,Qt::MatchFlags flags)

      as Qt::MatchFlags is only imported later: it lives in QtQml, not the dependency QtQml.Models where QAbstractItemModel lives.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          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:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes