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

ArrayBuffer to QByteArray conversion failes for QT 6.5.2

    XMLWordPrintable

Details

    • Windows

    Description

      In the attached code snippets, I try to transfer an ArrayBuffer from QML to a C++ handler, where it is supposed to get converted into a QByteArray. This is working in QT 6.5.1 and the QByteArray is received. This stopped working in QT 6.5.2.

      If I change the type to QVariantList, the data is received correctly as QVariantList. Still, I expect the implicit conversion would fill the QBytaArray.

      Attachments

        1. ComboBoxHandler.h
          0.2 kB
        2. main.cpp
          0.6 kB
        3. main.qml
          0.4 kB

        Issue Links

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

          Activity

            People

              ulherman Ulf Hermann
              bandler Jürgen Lutz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes