title: QMetaProperty::read: Unable to handle unregistered datatype 'TreeItem<InspectorItem>*'
body: <p>Qt doesn't allow to register class template?</p>
  
  <p>My class hierarchy is </p>
  
  <pre><code>TreeItemTemplateBackend : public QObject
  
  template&lt;typename T&gt;
  TreeItem : public TreeItemTemplateBackend
  </code></pre>
  
  <p>This is what i registred in qml:</p>
  
  <pre><code>qmlRegisterType&lt;InspectorItem&gt;("ge.gui", 1, 0, "InspectorItem");
  qmlRegisterType&lt;TreeItemTemplateBackend&gt;("ge.gui", 1, 0, "TreeItemTemplateBackend");
  qmlRegisterType&lt;TreeItem&lt;InspectorItem&gt;&gt;("ge.gui", 1, 0, "TreeItem");
  </code></pre>
  
  <p>I am still getting this <strong>error</strong>:</p>
  
  <p><strong>QMetaProperty::read: Unable to handle unregistered datatype <code>TreeItem&lt;InspectorItem&gt;*</code> for property 'Inspector::root'</strong></p>
  
  <p>Inspector::root is:</p>
  
  <pre><code>Q_PROPERTY(TreeItem&lt;InspectorItem&gt; * root READ root NOTIFY rootChanged)
  </code></pre>