<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Using QtCharts in a Pyside6 Application]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I want to use "QtCharts" in my Pyside6 QtQuick app. If I try to import the QtCharts qml module, it prompts me: <code>QML module not found</code>:</p>
<pre><code>QML module not found (QtCharts).
Import paths: C:/Qt/Tools/QtCreator/bin/qml
For qmake projects, use the QML_IMPORT_PATH variable to add import paths. 
For Qbs projects, declare and set a gmllmportPaths property in your product to add import paths. 
For qmiproject projects, use the importPaths property to add import paths. 
For CMake projects, make sure QML IMPORT_PATH variable is in CMakeCache.txt For qmlRegister... calls, make sure that you define the Module URI as a string literal.
</code></pre>
<p dir="auto">I also tried additionally adding this import in my <code>main.py</code> file. The import works,and the app runs but doesn't make it so the QML import works:</p>
<pre><code>from PySide6.QtCharts import QChart, QLineSeries, QChartView
</code></pre>
<p dir="auto">I checked the <code>Qt Maintenance Tool</code>, and QtCharts seemed to be checked for <code>Qt6.9</code>.<br />
I also checked my Python 3.13.1 interpreters libraries, and PySide6.QtCharts seems to exist within these paths</p>
<pre><code>"C:\Users\USER\AppData\Roaming\Python\Python313\site-packages\PySide6\qml\QtCharts"
"C:\Users\USER\AppData\Roaming\Python\Python313\site-packages\PySide6\Qt6Charts.dll"
"C:\Users\USER\AppData\Roaming\Python\Python313\site-packages\PySide6\Qt6ChartsQml.dll"
</code></pre>
<p dir="auto">I still can't get the chart working in qml, does somebody know what is going on?</p>
]]></description><link>https://forum.qt.io/topic/163335/using-qtcharts-in-a-pyside6-application</link><generator>RSS for Node</generator><lastBuildDate>Fri, 11 Sep 2026 21:59:56 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/163335.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 24 Sep 2025 13:38:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Using QtCharts in a Pyside6 Application on Tue, 14 Oct 2025 19:21:03 GMT]]></title><description><![CDATA[<p dir="auto">I am seeing the exact same problem.  However, I let AI generate some QML Chart code and the application works.  It would be nice to have code completion working.</p>
]]></description><link>https://forum.qt.io/post/832804</link><guid isPermaLink="true">https://forum.qt.io/post/832804</guid><dc:creator><![CDATA[camino262]]></dc:creator><pubDate>Tue, 14 Oct 2025 19:21:03 GMT</pubDate></item></channel></rss>