title: QT : Templated Q_OBJECT class
body: <p>Is it possible to have a template class, which inherit from QObject (and has Q_OBJECT macro in it's declaration)?</p>
  
  <p>I would like to create something like adapter for slots, which would do something, but the slot can take arbitrary number of arguments (number of arguments depends on the template argument).</p>
  
  <p>I just tried doing it, and got linker errors. I guess gmake or moc is not getting called on this template class. Is there a way to do this? Maybe by explicitly instantiating templates?</p>