signals and slots over thread use queued connection ..
there trick is to use Q_DECLARE_METATYPE and qregisterMetaType
* with queued connection , the parameter must be of types that are known to qt's meta object system .
*because qt needs to copy the arguments to store them in event behind the scene
if error came :
call QRegisterMetaType() to register the data type before connection is established ..QObject::connect:cannot queue argument with 'mtype'
have a good day
Bookmarks