title: Registering types vs containers
body: <p>If I register a custom type like the following, for the use in queued connections:</p>
  
  <pre><code>Q_DECLARE_METATYPE(MyClass);
  qRegisterMetaType&lt;MyClass&gt;();
  </code></pre>
  
  <p>I can use the type in queued connection with signals like this one:</p>
  
  <pre><code>void MySignal(MyType o);
  </code></pre>
  
  <p>Now I also would like to use the type with signals like this:</p>
  
  <pre><code>void MyVectorSignal(QVector&lt;MyType&gt; v);
  </code></pre>
  
  <p>I remember I read somewhere that Qt automatically allows using registered types with containers without explicitely registering the specific type/container combination.</p>
  
  <p>But it didn't work for me. I had to register the container as well:</p>
  
  <pre><code>Q_DECLARE_METATYPE(QVector&lt;MyType&gt;);
  qRegisterMetaType&lt;QVector&lt;MyType&gt;&gt;();
  </code></pre>
  
  <p>Should it work without the latter registration code? Is this actually necessary? Should containers work out of the box?</p>