Hi,
I am using signal/slot in existing code. It's working fine. Now, I have to pass std::string as a argument to these signal/slot, this slot again emit signal, another slot..etc. (chain)
I searched in google. I tried with Q_DECLARE_METATYPE (std::string) and qRegisterMetaType<std::string>("std::string"). No luck.
How to send std::string as an argument of signal and receive in slot?
Regards,
Bookmarks