Hi,

I'm not able to define a class that inherits from an own class and QThread.

Qt Code:
  1. class myClass : public MyBaseClass, public QThread
To copy to clipboard, switch view to plain text mode 


The problem is when I use "connect" statment into constructor. I recive the following error message compiling:

"'argumento' : conversiones ambiguas de 'CModbusRTUMasterADAM *const ' a 'const QObject *'"

and "translated" to english would be something similar like this:

"'argument' : conversion ambiguous of CModbusRTUMasterADAM *const ' to 'const QObject *'"


Any idea?

Thanks,