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

variant documentation is not up to date

    XMLWordPrintable

    Details

    • Commits:
      5054bb49a88a8ab76f586f79b6ef62a9142e6c83 (qt/qtdeclarative/5.15) 86b3f39566ec597243718edb87498a653648457a

      Description

      Documentation in here for the last snippet says it should not work, but it actually does:

      https://doc.qt.io/qt-5/qml-variant.html#storing-arrays-and-objects

      What doesn't work is if those are exposed QVariantMap and QVariantList properties from QObjects and the workaround is needed for that case, although that is probably not related to this variant type doc

        Attachments

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

          Activity

            People

            Assignee:
            ulherman Ulf Hermann
            Reporter:
            poikelin Joni Poikelin
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes