QtAudio namespace available as deprecated QAudio
Kovid Goyal
kovid at kovidgoyal.net
Sun Sep 1 10:34:40 BST 2024
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'?
--
_____________________________________
Dr. Kovid Goyal
https://www.kovidgoyal.net
https://calibre-ebook.com
_____________________________________
More information about the PyQt
mailing list