Qt6ChartsQml.dll missing from the PyQt6-Charts-Qt6 wheel

Luca Bacci luca.bacci at outlook.com
Wed Jun 7 15:19:57 BST 2023


Great, thank you very much!

Luca
________________________________
From: Phil Thompson <phil at riverbankcomputing.com>
Sent: Wednesday, June 7, 2023 3:38:41 PM
To: Luca Bacci <luca.bacci at outlook.com>
Cc: pyqt at riverbankcomputing.com <pyqt at riverbankcomputing.com>
Subject: Re: Qt6ChartsQml.dll missing from the PyQt6-Charts-Qt6 wheel

On 07/06/2023 08:58, Luca Bacci wrote:
> Hello! I have installed both PyQt6 and PyQt6-Charts using pip on
> Windows 10. Things are working pretty nicely, but by adding "import
> QtCharts"​ on top of my QML file I get the following error:
>
>   QQmlApplicationEngine failed to load component
>   file:///D:/my-app/window.ui:4:1: Cannot load library
> C:\Users\lucab\AppData\Roaming\Python\Python311\site-packages\PyQt6\Qt6\qml\QtCharts\qtchartsqml2plugin.dll:
> The specified module could not be found.
>
> Using dumpbin from the VS2022 command prompt we can see that
> qtchartsqml2plugin.dll depends on the following modules:
>
>   dumpbin /DEPENDENTS qtchartsqml2plugin.dll
>   Dump of file qtchartsqml2plugin.dll
>
>   File Type: DLL
>     Image has the following dependencies:
>       Qt6ChartsQml.dll
>       Qt6Qml.dll
>       Qt6Core.dll
>       VCRUNTIME140.dll
>       api-ms-win-crt-heap-l1-1-0.dll
>       api-ms-win-crt-runtime-l1-1-0.dll
>       KERNEL32.dll
>
> Qt6ChartsQml.dll is missing from the site-packages\PyQt6\Qt6\bin
> directory. As a workaround I copied it from my local Qt installation
> and everything is working now. Would it be possible to update the
> wheel?

They will be in the 6.5.2 wheels when they are released.

Thanks,
Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20230607/ef7e80a6/attachment.htm>


More information about the PyQt mailing list