Fwd: ANN: PyQt6-6.7.0-1 Wheels Available
Gdaliy Garmiza
gdalik at gmail.com
Tue Jun 4 18:38:44 BST 2024
Ok, I have written this kind of script/very simple app:
https://github.com/Gdalik/QMediaPlayerTest
Here you can switch between FFmpeg or a native system audio backend, just
commenting/uncommenting a single string of code.
I use the MP3 file, which can be played with any backend on any platform,
and the OGG file formats, which is not supported by native Windows (WMF)
and Darwin (AVFoundation) frameworks.
In the requirements.txt file, I use the versions of PyQt6 and PyQt6-Qt,
which still work (though not without bugs like freezing an app on macOS
with FFmpeg when trying to switch to an audio file while playing another
one).
But once you upgrade to the latest PyQt6 version, everything just
stops working, both on Windows 10 and on macOS Monterey (Intel).
вт, 4 июн. 2024 г. в 11:18, Phil Thompson <phil at riverbankcomputing.com>:
> On 03/06/2024 20:00, Gdaliy Garmiza wrote:
> > Hi!
> >
> > None of the issues with QMediaPlayer I had reported
> > <https://www.riverbankcomputing.com/pipermail/pyqt/2024-May/045858.html>
>
> > were
> > fixed, I'm sorry.
> > On Windows 10 it doesn't play anything no matter which backend is used.
> > And
> > I get no error messages.
> > On macOS Monterey (Intel platform) it doesn't work as well.
> > And I get the following:
> > 'No QtMultimedia backends found. Only QMediaDevices, QAudioDevice,
> > QSoundEffect, QAudioSink, and QAudioSource are available.
> >
> > Failed to initialize QMediaPlayer "Not available"'
> >
> >
> > The same codebase with the following requirements installed still works
> > OK
> > everywhere:
> >
> >
> > 'PyQt6<6.7.0
> >
> > PyQt6-Qt6==6.6.2'
>
> I can't really do anything with this without a short, complete script
> that demonstrates the problem.
>
> PyQt knows nothing about any backends so problems like this are more
> likely to be Qt bugs. However Qt may have introduced a new dependency in
> Qt v6.7 which is missing from the Qt wheels. That's easy enough to test
> - if I had a way of reproducing the problem.
>
> Phil
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20240604/f8386d82/attachment.htm>
More information about the PyQt
mailing list