<?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[what&#x27; the deference between QQmlEngineExtensionPlugin and QQmlExtensionPlugin]]></title><description><![CDATA[<p dir="auto">In qt6book-with-frontpage.pdf,<br />
page652,Extending QML with C++,talking about QQmlExtensionPlugin.<br />
<img src="https://ddgobkiprc33d.cloudfront.net/37c807c3-b9ec-4459-8c23-53b537c375a0.png" alt="28a5e1c3-1597-4bf5-8bca-e2d026cffdfa-image.png" class=" img-fluid img-markdown" /><br />
but page655, Creating the plugin, using QQmlEngineExtensionPlugin to create a qmlplugin.<br />
<img src="https://ddgobkiprc33d.cloudfront.net/4d878607-bac6-4004-8069-1365c32f773d.png" alt="17381078-652f-4499-ba8c-f09535a9e7d4-image.png" class=" img-fluid img-markdown" /><br />
In fact,When I created a plugin by the wizard of QtQuick 2 QML ExtensionPlugin, the interface was QQmlExtensionPlugin.</p>
<p dir="auto">why? what‘s the diferece.</p>
]]></description><link>https://forum.qt.io/topic/139536/what-the-deference-between-qqmlengineextensionplugin-and-qqmlextensionplugin</link><generator>RSS for Node</generator><lastBuildDate>Thu, 05 Nov 2026 05:06:32 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/139536.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 24 Sep 2022 08:58:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to what&#x27; the deference between QQmlEngineExtensionPlugin and QQmlExtensionPlugin on Mon, 26 Sep 2022 12:21:18 GMT]]></title><description><![CDATA[<p dir="auto">thank you.</p>
]]></description><link>https://forum.qt.io/post/730193</link><guid isPermaLink="true">https://forum.qt.io/post/730193</guid><dc:creator><![CDATA[cq_qt]]></dc:creator><pubDate>Mon, 26 Sep 2022 12:21:18 GMT</pubDate></item><item><title><![CDATA[Reply to what&#x27; the deference between QQmlEngineExtensionPlugin and QQmlExtensionPlugin on Sun, 25 Sep 2022 04:40:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cq_qt">@<bdi>cq_qt</bdi></a> said in <a href="/post/730019">what' the deference between QQmlEngineExtensionPlugin and QQmlExtensionPlugin</a>:</p>
<blockquote>
<p dir="auto">what‘s the diferece.</p>
</blockquote>
<p dir="auto">QQmlExtensionPlugin is older, QQmlEngineExtensionPlugin is the new replacement. The Qt engineers haven't yet added documentation on how to port from the old class to the new class, but they are planning to do that soon (see <a href="https://bugreports.qt.io/browse/QTBUG-95448" target="_blank" rel="noopener noreferrer nofollow ugc">https://bugreports.qt.io/browse/QTBUG-95448</a> )</p>
<p dir="auto">If you are creating a new project, you don't actually need to write the QQmlEngineExtensionPlugin code yourself. CMake does it automatically for you now. See the note at <a href="https://doc-snapshots.qt.io/qt6-dev/qqmlengineextensionplugin.html#details" target="_blank" rel="noopener noreferrer nofollow ugc">https://doc-snapshots.qt.io/qt6-dev/qqmlengineextensionplugin.html#details</a></p>
]]></description><link>https://forum.qt.io/post/730069</link><guid isPermaLink="true">https://forum.qt.io/post/730069</guid><dc:creator><![CDATA[JKSH]]></dc:creator><pubDate>Sun, 25 Sep 2022 04:40:20 GMT</pubDate></item></channel></rss>