<?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 plugin in UI QML project.]]></title><description><![CDATA[<p dir="auto">There is a plugin cwQuickQt.Controls made in Visual Studio - a DLL file.<br />
Importing cwQuickQt.Controls in a project is done successfully =&gt; the plugins.qmltypes is read in, no red underline. But the plugin type GraphicsApplicationWindow is underlined as Uknown component (M300).<br />
I need to enter Designer section in Qt Creator 3.3.1, but it shows a dialog saying that there is an uknown component and when I click Ok or Ignore the Qt Creator crashes.</p>
<p dir="auto">Why Qt Creator <em>does not recognize a component</em> and why <em>it crashes</em>?</p>
<p dir="auto">I created the qmldir file =&gt;</p>
<p dir="auto">@module cwQuickQt.Controls<br />
plugin cwQuickQtControls<br />
classname QuickQt<br />
typeinfo plugins.qmltypes@</p>
<p dir="auto">and generated plugins.qmltypes via qmlplugindump (Qt 5.4) =&gt;</p>
<p dir="auto">E:\Win32\bin&gt;qmlplugindump.exe cwQuickQt.Controls 1.0 E:\Win32\bin\qml &gt; E:\Win32\bin\qml\cwQuickQt\Controls\plugins.qmltypes</p>
<p dir="auto"><em>Output</em></p>
<p dir="auto">@GraphicsWindowQtQ::initialize(): no traits were specified. Creating window with<br />
default settings...<br />
This plugin does not support propagateSizeHints()<br />
This plugin does not support propagateSizeHints()<br />
This plugin does not support propagateSizeHints()<br />
import QtQuick.tooling 1.1</p>
<p dir="auto">// This file describes the plugin-supplied types contained in the library.<br />
// It is used for QML tooling purposes only.<br />
//<br />
// This file was auto-generated by:<br />
// 'qmlplugindump.exe cwQuickQt.Controls 1.0 E:\Win32\bin\qml'</p>
<p dir="auto">Module {<br />
Component {<br />
prototype: "QObject"<br />
name: "cwQuickQt.Controls/GraphicsApplicationWindow"<br />
exports: ["GraphicsApplicationWindow 1.0"]<br />
exportMetaObjectRevisions: [0]<br />
isComposite: true<br />
defaultProperty: "data"<br />
Property { name: "menuBar"; type: "MenuBar_QMLTYPE_4"; isPointer: true }</p>
<pre><code>    Property { name: "toolBar"; type: "QQuickItem"; isPointer: true }
    Property { name: "statusBar"; type: "QQuickItem"; isPointer: true }
    Property { name: "style"; type: "QQmlComponent"; isPointer: true }
    Property { name: "__topBottomMargins"; type: "double" }
    Property { name: "__qwindowsize_max"; type: "double"; isReadonly: true }

    Property { name: "__width"; type: "double" }
    Property { name: "__height"; type: "double" }
    Property { name: "contentItem"; type: "ContentItem_QMLTYPE_2"; isReadonl
</code></pre>
<p dir="auto">y: true; isPointer: true }<br />
Property { name: "__style"; type: "QObject"; isReadonly: true; isPointer<br />
: true }<br />
Property { name: "__panel"; type: "QObject"; isReadonly: true; isPointer<br />
: true }<br />
Property { name: "data"; type: "QObject"; isList: true; isReadonly: true<br />
}<br />
Signal {<br />
name: "postRender"<br />
Parameter { name: "painter"; type: "QPainter"; isPointer: true }<br />
}<br />
Signal { name: "multiSampleRequestDone" }<br />
Method { name: "update" }<br />
Method {<br />
name: "updateLater"<br />
Parameter { name: "force"; type: "bool" }<br />
}<br />
Method { name: "updateLater" }<br />
Property { name: "color"; type: "QColor" }<br />
Property {<br />
name: "activeFocusItem"<br />
revision: 1<br />
type: "QQuickItem"<br />
isReadonly: true<br />
isPointer: true<br />
}<br />
Signal { name: "frameSwapped" }<br />
Signal {<br />
name: "openglContextCreated"<br />
revision: 2<br />
Parameter { name: "context"; type: "QOpenGLContext"; isPointer: true<br />
}<br />
}<br />
Signal { name: "sceneGraphInitialized" }<br />
Signal { name: "sceneGraphInvalidated" }<br />
Signal { name: "beforeSynchronizing" }<br />
Signal { name: "afterSynchronizing"; revision: 2 }<br />
Signal { name: "beforeRendering" }<br />
Signal { name: "afterRendering" }<br />
Signal { name: "afterAnimating"; revision: 2 }<br />
Signal { name: "sceneGraphAboutToStop"; revision: 2 }<br />
Signal {<br />
name: "closing"<br />
revision: 1<br />
Parameter { name: "close"; type: "QQuickCloseEvent"; isPointer: true<br />
}<br />
}<br />
Signal {<br />
name: "colorChanged"<br />
Parameter { type: "QColor" }<br />
}<br />
Signal {<br />
name: "sceneGraphError"<br />
revision: 2<br />
Parameter { name: "error"; type: "QQuickWindow::SceneGraphError" }<br />
Parameter { name: "message"; type: "string" }<br />
}<br />
Method { name: "releaseResources" }<br />
Property { name: "title"; type: "string" }<br />
Property { name: "modality"; type: "Qt::WindowModality" }<br />
Property { name: "flags"; type: "Qt::WindowFlags" }<br />
Property { name: "x"; type: "int" }<br />
Property { name: "y"; type: "int" }<br />
Property { name: "width"; type: "int" }<br />
Property { name: "height"; type: "int" }<br />
Property { name: "minimumWidth"; type: "int" }<br />
Property { name: "minimumHeight"; type: "int" }<br />
Property { name: "maximumWidth"; type: "int" }<br />
Property { name: "maximumHeight"; type: "int" }<br />
Property { name: "visible"; type: "bool" }<br />
Property { name: "active"; revision: 1; type: "bool"; isReadonly: true }</p>
<pre><code>    Property { name: "visibility"; revision: 1; type: "Visibility" }
    Property { name: "contentOrientation"; type: "Qt::ScreenOrientation" }
    Property { name: "opacity"; revision: 1; type: "double" }
}
</code></pre>
<p dir="auto">}@</p>
]]></description><link>https://forum.qt.io/topic/51611/using-plugin-in-ui-qml-project</link><generator>RSS for Node</generator><lastBuildDate>Sun, 16 Aug 2026 01:03:06 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/51611.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 25 Feb 2015 07:08:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Using plugin in UI QML project. on Wed, 25 Feb 2015 16:42:47 GMT]]></title><description><![CDATA[<p dir="auto">No, it's an output into the terminal. As I mentioned in the question, the plugins.qmltypes was successfully read in by Qt Creator.</p>
]]></description><link>https://forum.qt.io/post/263049</link><guid isPermaLink="true">https://forum.qt.io/post/263049</guid><dc:creator><![CDATA[silex92]]></dc:creator><pubDate>Wed, 25 Feb 2015 16:42:47 GMT</pubDate></item><item><title><![CDATA[Reply to Using plugin in UI QML project. on Wed, 25 Feb 2015 13:27:11 GMT]]></title><description><![CDATA[<p dir="auto">if the lines before import QtQuick.tooling 1.1 are really outputted in the file (instead of stderr) then that breaks the file, as it is invalid qml syntax, try deleting them and submit a bug about it (errors are probably redirected to the wrong place)</p>
]]></description><link>https://forum.qt.io/post/263017</link><guid isPermaLink="true">https://forum.qt.io/post/263017</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Wed, 25 Feb 2015 13:27:11 GMT</pubDate></item></channel></rss>