<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div dir="auto" style="">Great, thank you very much!</div>
<div dir="auto" style=""><br>
</div>
<div dir="auto" style="">Luca</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Phil Thompson <phil@riverbankcomputing.com><br>
<b>Sent:</b> Wednesday, June 7, 2023 3:38:41 PM<br>
<b>To:</b> Luca Bacci <luca.bacci@outlook.com><br>
<b>Cc:</b> pyqt@riverbankcomputing.com <pyqt@riverbankcomputing.com><br>
<b>Subject:</b> Re: Qt6ChartsQml.dll missing from the PyQt6-Charts-Qt6 wheel</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">On 07/06/2023 08:58, Luca Bacci wrote:<br>
> Hello! I have installed both PyQt6 and PyQt6-Charts using pip on<br>
> Windows 10. Things are working pretty nicely, but by adding "import<br>
> QtCharts" on top of my QML file I get the following error:<br>
> <br>
> QQmlApplicationEngine failed to load component<br>
> <a href="file:///D:/my-app/window.ui:4:1:">file:///D:/my-app/window.ui:4:1:</a> Cannot load library<br>
> C:\Users\lucab\AppData\Roaming\Python\Python311\site-packages\PyQt6\Qt6\qml\QtCharts\qtchartsqml2plugin.dll:<br>
> The specified module could not be found.<br>
> <br>
> Using dumpbin from the VS2022 command prompt we can see that<br>
> qtchartsqml2plugin.dll depends on the following modules:<br>
> <br>
> dumpbin /DEPENDENTS qtchartsqml2plugin.dll<br>
> Dump of file qtchartsqml2plugin.dll<br>
> <br>
> File Type: DLL<br>
> Image has the following dependencies:<br>
> Qt6ChartsQml.dll<br>
> Qt6Qml.dll<br>
> Qt6Core.dll<br>
> VCRUNTIME140.dll<br>
> api-ms-win-crt-heap-l1-1-0.dll<br>
> api-ms-win-crt-runtime-l1-1-0.dll<br>
> KERNEL32.dll<br>
> <br>
> Qt6ChartsQml.dll is missing from the site-packages\PyQt6\Qt6\bin<br>
> directory. As a workaround I copied it from my local Qt installation<br>
> and everything is working now. Would it be possible to update the<br>
> wheel?<br>
<br>
They will be in the 6.5.2 wheels when they are released.<br>
<br>
Thanks,<br>
Phil<br>
</div>
</span></font></div>
</body>
</html>