<?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[Use external javascript libraries in my qml canvas.]]></title><description><![CDATA[<p dir="auto">Now and then I find some nice javascript libraries like <a href="http://dynamicsjs.com" target="_blank" rel="noopener noreferrer nofollow ugc">this</a> one.</p>
<p dir="auto">Since the qml canvas is so similar to the html canvas then it should be possible to use them in qml.</p>
<p dir="auto">Is there any tutorial, example, or other recourse that discusses this matter?</p>
]]></description><link>https://forum.qt.io/topic/55536/use-external-javascript-libraries-in-my-qml-canvas</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Apr 2026 16:40:01 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/55536.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 22 Jun 2015 13:29:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Use external javascript libraries in my qml canvas. on Tue, 23 Jun 2015 06:54:06 GMT]]></title><description><![CDATA[<p dir="auto">Hi SGaist,<br />
I did of curse know about importing and using simple javascript code in my qml tests. But what I was wondering was if it is possible to use the multitude of javascript libraries that are out there, mostly the impressive ones that deal with animations like the one I linked to.</p>
<p dir="auto">Thanks for the links p3c0, I believe that by studying them I may be able to port a javascript library to a qml compatible version.</p>
]]></description><link>https://forum.qt.io/post/279262</link><guid isPermaLink="true">https://forum.qt.io/post/279262</guid><dc:creator><![CDATA[ealione]]></dc:creator><pubDate>Tue, 23 Jun 2015 06:54:06 GMT</pubDate></item><item><title><![CDATA[Reply to Use external javascript libraries in my qml canvas. on Tue, 23 Jun 2015 05:58:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ealione">@<bdi>ealione</bdi></a> I doubt that it will work readily with QML. Javascript support in QML is very restricted as compared to that of Web-Browsers. It lacks of certain objects which are mostly used in these web-browsers supported Javascripts.<br />
You can find more info here:</p>
<ul>
<li><a href="http://doc.qt.io/qt-5/qtqml-javascript-hostenvironment.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://doc.qt.io/qt-5/qtqml-javascript-hostenvironment.html</a></li>
<li><a href="http://doc.qt.io/qt-5/qtqml-javascript-expressions.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://doc.qt.io/qt-5/qtqml-javascript-expressions.html</a></li>
<li><a href="http://doc.qt.io/qt-5/qtqml-javascript-hostenvironment.html#javascript-environment-restrictions" target="_blank" rel="noopener noreferrer nofollow ugc">http://doc.qt.io/qt-5/qtqml-javascript-hostenvironment.html#javascript-environment-restrictions</a></li>
</ul>
]]></description><link>https://forum.qt.io/post/279257</link><guid isPermaLink="true">https://forum.qt.io/post/279257</guid><dc:creator><![CDATA[p3c0]]></dc:creator><pubDate>Tue, 23 Jun 2015 05:58:26 GMT</pubDate></item><item><title><![CDATA[Reply to Use external javascript libraries in my qml canvas. on Mon, 22 Jun 2015 21:46:03 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Is <a href="http://doc.qt.io/qt-5/qtqml-javascript-imports.html" target="_blank" rel="noopener noreferrer nofollow ugc">QtQml JavaScript imports</a> what you are looking for ?</p>
]]></description><link>https://forum.qt.io/post/279237</link><guid isPermaLink="true">https://forum.qt.io/post/279237</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Mon, 22 Jun 2015 21:46:03 GMT</pubDate></item></channel></rss>