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

QML DOM: overhaul builtin handling

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P3: Somewhat important
    • 6.11
    • 6.9
    • QML: Tooling
    • None
    • a5dc4453d (dev)

    Description

      The handling of builitins is out of sync between the compilers and the DOM since https://codereview.qt-project.org/c/qt/qtdeclarative/+/622385 .

      "builtins" and "QML" are actually separate, and only what has been termed "hardcoded" buildins should always be available.

      This also leads to the issue that the DOM will attempt to import both builtins.qmltypes (becasue that's hardcoded in DomEnvironment::loadBuiltins ) and QML/plugins.qmltypes (which is a dependency of QtQml).

      That leads in turn to errors, because QtObject is defined multiple times.

      Attachments

        For Gerrit Dashboard: QTBUG-135918
        # Subject Branch Project Status CR V

        Activity

          People

            qtqmlteam Qt Qml Team User
            fabiankosmale Fabian Kosmale
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes