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

QQmlJSCodeGenerator::argumentsList() disregards most type wrappings

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes