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.5.6, 6.6.3.1, 6.8.0
    • 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), 26adc4079 (tqtc/lts-6.5), 1f85a4833 (tqtc/lts-6.5.6), f6589989b (tqtc/6.5.6), cecf63e72 (dev), 9b35a1f63 (6.7)

    Description

      PySide 6.7.0 does not print any warning message when I launch my chess GUI app. Now, after I've upgraded to PySide 6.7.2 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
          Boštjan Mejak
        2. test.py
          0.7 kB
          Boštjan Mejak

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: