How can I pin-point the location of the call in my code that triggered QObject::connect: Cannot queue arguments of type in Qt5?
问题 In my Qt5 application, I am receiving a log message at run time from Qt itself that looks like this: QObject::connect: Cannot queue arguments of type 'QHostAddress' I know how to fix the cause of this message using Q_DECLARE_METATYPE(QHostAddress) macro or qRegisterMetaType<QHostAddress>("QHostAddress") class, that is not what this question is about. What I want to know is, how can I pin-point the exact location of the call in my code that triggered this message ? Since the message does not