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

Extend Python extensions - QIODevice and QAudioFormat

XMLWordPrintable

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

      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.

        For Gerrit Dashboard: PYSIDE-1743
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes