QtAudio namespace available as deprecated QAudio

Phil Thompson phil at riverbankcomputing.com
Sun Sep 1 12:40:41 BST 2024


On 01/09/2024 10:34, Kovid Goyal wrote:
> In Qt 6.7 QAudio.State and friends were moved in QtAudio and the use fo
> QAudio was deprecated.
> 
> python -c 'from PyQt6.QtMultimedia import QAudio, QtAudio'
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> ImportError: cannot import name 'QtAudio' from 'PyQt6.QtMultimedia'
> (/usr/lib/python3.12/site-packages/PyQt6/QtMultimedia.abi3.so). Did
> you mean: 'QAudio'?

The initial Qt implementation of QtAudio was screwed up (binary 
incompatibilities). I will review it for a later release. QAudio is 
functionally identical and will remain.

Phil


More information about the PyQt mailing list