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

ArrayBuffer to QByteArray conversion failes for QT 6.5.2

XMLWordPrintable

    • Windows

      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.

        1. ComboBoxHandler.h
          0.2 kB
          Jürgen Lutz
        2. main.cpp
          0.6 kB
          Jürgen Lutz
        3. main.qml
          0.4 kB
          Jürgen Lutz
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes