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

Annoying warning message only with PySide 6.6.3

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4: Low
    • 6.7.0, 6.8.0, 6.6.3.1
    • 6.6.3
    • PySide
    • None
    • Windows
    • 3f3856ba9 (dev), 5cad7f595 (6.6.3.1), f232b87d5 (6.6), bd419a6e7 (6.7), 9660ce58f (tqtc/6.6.3.1)

    Description

      PySide 6.6.2 does not print any warning message when I launch my chess GUI app. Now, after I've upgraded to PySide 6.6.3 without any changes to the code, I get this annoying warning message at launch:

      No QtMultimedia backends found. Only QMediaDevices, QAudioDevice, QSoundEffect, QAudioSink, and QAudioSource are available.

      I'm using `QSoundEffect` for playing sound effects in my chess GUI app.

      If I print the return value of the `audioDevice()` method, called on the instance of the `QSoundEffect` class, I get this output in the console:

      `<PySide6.QtMultimedia.QAudioDevice object at 0x00000261F40F8A00>`

      So, an audio device is automatically created by the `QSoundEffect` instance and the sound effects are playing normally in my chess GUI app, so I don't know why am I getting that annoying warning message.

      Attachments

        1. move.wav
          7 kB
        2. test.py
          0.7 kB

        Issue Links

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

          Activity

            People

              adherrma Adrian Herrmann
              pedantichacker Boštjan Mejak
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes