use user type in signal function parametrs
Re: use user type in signal function parametrs
Hi use qRegisterMetaType/Q_DECLARE_METATYPE.
Re: use user type in signal function parametrs
Quote:
Originally Posted by
sergey_85
How can you say its not working. There could several other factors who can affect the connection. Please show that, how your slot looks and how you are connecting the signal slot.
Also please check the return value of CONNECT statement. You may need to register your data type.
Re: use user type in signal function parametrs
Check the output window, you may notice an error being output at run time about incompatible signal/slots and such like.
and like yogeshgokul says, we need to see your slot and connect statements.
Re: use user type in signal function parametrs
Ok! Thank for help!
- add Q_DECLARE_METATYPE(BmsEMsgType)
- edit CONNECT
- edit signals section (change definition)
Now it's work.