title: Object::connect: No such signal
body: <p>I have a problem to create custom slots/signal with a struct.  I have the following code : </p>
  
  <pre><code>qRegisterMetaType&lt;namespace::myClassA::aStruct&gt;();
  QObject::connect(&amp;myClassA, SIGNAL(theSignal(myClassA::aStruct)),
                    &amp;myClassB, SLOT(theSlot(myClassA::aStruct)));
  </code></pre>
  
  <p>When running the program I got :</p>
  
  <pre><code>Object::connect: No such signal NameSpace::myClassA::theSignal(myClassA::aStruct)
  Object::connect:  (receiver name: 'NameSpace__CLASSNAME')
  </code></pre>
  
  <p>How do I resolved this problem? </p>
  
  <p>PS: The slot and the signal have been properly declared in header files file Q_SIGNALS and Q_SLOTS keywords, with the correct argument (aStruct)</p>