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

"Sequence Type to JavaScript Array" docs don't mention QJSValue

    XMLWordPrintable

Details

    • 61d0128cee21ed75863d12491ac2fee58df094ec (qt/qtdeclarative/5.15)

    Description

      https://doc-snapshots.qt.io/qt5-dev/qtqml-cppintegration-data.html#sequence-type-to-javascript-array says:

      Other sequence types are not supported transparently, and instead an instance of any other sequence type will be passed between QML and C++ as an opaque QVariantList.

      This doesn't mention that QJSValue can also be used as the argument type for C++ functions called by QML/JS.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes