hello everyone,
I get the error:
.\Logger.h(20): Error: Template classes not supported by Q_OBJECT
when I have the following ...

Qt Code:
  1. template<typename T>
  2.  
  3. class Logger : public QThread
  4. {
  5. Q_OBJECT
  6.  
  7. public:
  8. Logger( T* fridge){}
  9. virtual ~Logger();
  10. ...
To copy to clipboard, switch view to plain text mode 

What can I do?
I want to pass an instance of any class (provided that the class has a function x()) to the constructor of Logger, so that the Logger can call the func. Is that possible?

thanks
K