Is it possible to have a template class, which inherit from QObject (and has Q_OBJECT macro in it\'s declaration)?
I would like to create something like adapter for
Taking into account some restrictions: you can. First please became familiar (if already not) https://doc.qt.io/archives/qq/qq16-dynamicqobject.html. - it will help to imlement it. And about restrictions: you can have a template QObject class i.e. template class derived from QObject, but:
Hope this will helpful.