[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: Qt6ChartsQml.dll missing from the PyQt6-Charts-Qt6 wheel
From:       Luca Bacci <luca.bacci () outlook ! com>
Date:       2023-06-07 14:19:57
Message-ID: DU0P190MB20027CD6F693C5BA67CB1EBE8353A () DU0P190MB2002 ! EURP190 ! PROD ! OUTLOOK ! COM
[Download RAW message or body]

[Attachment #2 (text/plain)]

Great, thank you very much!

Luca
________________________________
From: Phil Thompson <phil@riverbankcomputing.com>
Sent: Wednesday, June 7, 2023 3:38:41 PM
To: Luca Bacci <luca.bacci@outlook.com>
Cc: pyqt@riverbankcomputing.com <pyqt@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


[Attachment #3 (text/html)]

<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 \
&lt;phil@riverbankcomputing.com&gt;<br> <b>Sent:</b> Wednesday, June 7, 2023 3:38:41 \
PM<br> <b>To:</b> Luca Bacci &lt;luca.bacci@outlook.com&gt;<br>
<b>Cc:</b> pyqt@riverbankcomputing.com &lt;pyqt@riverbankcomputing.com&gt;<br>
<b>Subject:</b> Re: Qt6ChartsQml.dll missing from the PyQt6-Charts-Qt6 wheel</font>
<div>&nbsp;</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>
&gt; Hello! I have installed both PyQt6 and PyQt6-Charts using pip on<br>
&gt; Windows 10. Things are working pretty nicely, but by adding &quot;import<br>
&gt; QtCharts&quot;​ on top of my QML file I get the following error:<br>
&gt; <br>
&gt;&nbsp;&nbsp; QQmlApplicationEngine failed to load component<br>
&gt;&nbsp;&nbsp; <a href="file:///D:/my-app/window.ui:4:1:">file:///D:/my-app/window.ui:4:1:</a> \
Cannot load library<br> &gt; \
C:\Users\lucab\AppData\Roaming\Python\Python311\site-packages\PyQt6\Qt6\qml\QtCharts\qtchartsqml2plugin.dll:<br>
 &gt; The specified module could not be found.<br>
&gt; <br>
&gt; Using dumpbin from the VS2022 command prompt we can see that<br>
&gt; qtchartsqml2plugin.dll depends on the following modules:<br>
&gt; <br>
&gt;&nbsp;&nbsp; dumpbin /DEPENDENTS qtchartsqml2plugin.dll<br>
&gt;&nbsp;&nbsp; Dump of file qtchartsqml2plugin.dll<br>
&gt; <br>
&gt;&nbsp;&nbsp; File Type: DLL<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; Image has the following dependencies:<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Qt6ChartsQml.dll<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Qt6Qml.dll<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Qt6Core.dll<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; VCRUNTIME140.dll<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; api-ms-win-crt-heap-l1-1-0.dll<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; api-ms-win-crt-runtime-l1-1-0.dll<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; KERNEL32.dll<br>
&gt; <br>
&gt; Qt6ChartsQml.dll is missing from the site-packages\PyQt6\Qt6\bin<br>
&gt; directory. As a workaround I copied it from my local Qt installation<br>
&gt; and everything is working now. Would it be possible to update the<br>
&gt; 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>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic