I creati a simple class which extends two classes QObject and QThread.
When I compile it with MOC compiler there is an error:
expected class-name before ‘{’ token
Class started with this code:
class QSmartecVideoAudio : public QObject, public QThread { Q_OBJECT ... };
I implement run method but it doesnot work.
I include qthread.h at the beginning.