Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-1743

Extend Python extensions - QIODevice and QAudioFormat

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • 6.2.9
    • 6.2.2
    • PySide
    • None
    • Ubuntu 20.04
    • Linux/X11

    Description

      It was noticed that the https://doc.qt.io/qt-6/qiodevice.html#writeData and https://doc.qt.io/qt-6/qaudioformat.html#normalizedSampleValue were not exposed to Python because they both take const char* for the first parameter. Shiboken was let to generate bindings on its own for these two functions and hence they were not working properly.

       

      Fix:

      Instead of const char* use PyBuffer in the binding wrapper code.

      Attachments

        Issue Links

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

          Activity

            People

              shpremna Shyamnath Premnadh
              shpremna Shyamnath Premnadh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes