<?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[How to embed PyQtGraph in QML with a PySide2 Python Backend?]]></title><description><![CDATA[<p dir="auto">Due to license restrictions I do not want to use QTCharts, so I am looking at <a href="http://www.pyqtgraph.org/" target="_blank" rel="noopener noreferrer nofollow ugc">PyQtGraph</a> library.</p>
<p dir="auto">I am working with PySide2 and QML. I am having difficulty getting a simple example working using QML because I don't know where to start. How do I embed one of these charts from the Python/Pyside2 backend to the QML front end?</p>
<p dir="auto">Do I need to use a QQuickWidget somehow? Anyone have any examples of how to do this?</p>
<p dir="auto">Can someone please point me in the right direction? Thank you</p>
]]></description><link>https://forum.qt.io/topic/100848/how-to-embed-pyqtgraph-in-qml-with-a-pyside2-python-backend</link><generator>RSS for Node</generator><lastBuildDate>Fri, 14 Aug 2026 12:29:18 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/100848.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 18 Mar 2019 21:27:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to embed PyQtGraph in QML with a PySide2 Python Backend? on Wed, 20 Mar 2019 21:18:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a></p>
<p dir="auto">Thanks Im looking into it</p>
]]></description><link>https://forum.qt.io/post/518654</link><guid isPermaLink="true">https://forum.qt.io/post/518654</guid><dc:creator><![CDATA[Edwin F.]]></dc:creator><pubDate>Wed, 20 Mar 2019 21:18:11 GMT</pubDate></item><item><title><![CDATA[Reply to How to embed PyQtGraph in QML with a PySide2 Python Backend? on Wed, 20 Mar 2019 20:45:39 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">You may have some luck with KDAB's <a href="https://www.kdab.com/declarative-widgets/" target="_blank" rel="noopener noreferrer nofollow ugc">Declarative Widgets module</a>.</p>
]]></description><link>https://forum.qt.io/post/518645</link><guid isPermaLink="true">https://forum.qt.io/post/518645</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Wed, 20 Mar 2019 20:45:39 GMT</pubDate></item><item><title><![CDATA[Reply to How to embed PyQtGraph in QML with a PySide2 Python Backend? on Wed, 20 Mar 2019 20:39:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/edwin-f.">@<bdi>Edwin-F</bdi></a>.</p>
<p dir="auto">I asked on S.O. and got this answer, apparently this is not possible to put a Widget in QML. So I am going a different route to solve this issue.</p>
<p dir="auto"><em>"pyqtgraph is based on QGraphicsView which is part of the Qt Widgets submodule, so what you are asking for is equivalent to asking that a Qt Widget be embedded in QML and that is not possible. QQuickWidget does the opposite, ie embed a QML in a Qt Widget. In conclusion you can not."</em></p>
]]></description><link>https://forum.qt.io/post/518643</link><guid isPermaLink="true">https://forum.qt.io/post/518643</guid><dc:creator><![CDATA[Edwin F.]]></dc:creator><pubDate>Wed, 20 Mar 2019 20:39:41 GMT</pubDate></item></channel></rss>