hello everyone,
I get the error:
.\Logger.h(20): Error: Template classes not supported by Q_OBJECT
when I have the following ...
Qt Code:
template<typename T> { Q_OBJECT public: Logger( T* fridge){} virtual ~Logger(); ...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
Bookmarks