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

Calling a QVariantList invokable with a string gives a list of QChar variants

    XMLWordPrintable

Details

    Description

      When calling a C++ function

      Q_INVOKABLE void method_QVariantList(const QVariantList &list)
      

      from qml as

      object.method_QVariantList('bob was here')
      

      then the function gets called with a list of variants, one for each character, where each QVariant holds a QChar.

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            vhilshei Volker Hilsheimer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes