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

QQmlJSCodeGenerator::argumentsList() disregards most type wrappings

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.5, 6.6.0, 6.6
    • 6.5.0
    • QML: Compiler
    • None
    • 60a34c339 (dev), 2316da3a8 (dev)

    Description

      Basically:

      1. Return type is always taken as verbatim, no matter if it's QVariant(List), QObjectList or whatever.
      2. For arguments only QVariant and QJSPrimitiveType are resolved to data() and metaType().

      This works because our call frame setup automatically converts, but it's inefficient.

      Attachments

        Issue Links

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

          Activity

            People

              ulherman Ulf Hermann
              ulherman Ulf Hermann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes