XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes