pyQt5 issues using QtMultimedia
Phil Thompson
phil at riverbankcomputing.com
Mon Nov 20 21:37:38 GMT 2023
On 20/11/2023 18:43, Corey Hartley wrote:
> Hi all,
>
> I've been experiencing some issues using the latest version of pyQt5
> (5.15.10), specifically when importing the QtMultimedia module. I've
> been
> receiving the following error:
>
>> declarative_multimedia.dll: The specified module could not be found.
>>
>
> A coworker and I have reproduced this on both of our machines, which
> makes
> us think that it isn't just an issue with a specific install (we are
> both
> using Windows 11). I haven't been able to find much information
> elsewhere
> on what this issue could possibly be. I have started to assume that
> there
> is potentially a missing dependency `dll` that I'm missing somewhere?
>
> I've used an application called "Dependency Walker" to try to see if
> I'm
> missing anything, and it hasn't been able to find
> qt5multimediaquick.dll,
> which it claims is used by declarative_multimedia.dll. I'm currently in
> the
> process of attempting to build pyQt5 from the source code to see if I
> can
> find that DLL and potentially use it, although not an ideal solution as
> we
> would need to duct tape that file into our build in some way going
> forward.
>
> Any help would be greatly appreciated!!
I doubt it is anything to do with PyQt itself. Qt5MultimediaQuick is
missing from PyQt5-Qt5 - you can probably just copy it from a another Qt
installation. I have no idea what declarative_multimedia.dll is.
Phil
More information about the PyQt
mailing list