Hi,

I'm getting this error on my application

Qt Code:
  1. QObject::connect: Cannot queue arguments of type 'CModbusResponse&'
  2. (Make sure 'CModbusResponse&' is registered using qRegisterMetaType().)
To copy to clipboard, switch view to plain text mode 

CModbusResponse is a class that inherits from CModbusMessage. I have registered the classes with "qRegisterMetaType".
The problem is that the connection returns true if "QtirectConnection" is used, but it returns false if "Qt::QueuedConnection" is used.

The classes have their copy constructor.

Thanks,