diff --git a/src/corelib/kernel/qobject.cpp b/src/corelib/kernel/qobject.cpp index 475e8eb447f..c9bc48fecda 100644 --- a/src/corelib/kernel/qobject.cpp +++ b/src/corelib/kernel/qobject.cpp @@ -2691,6 +2691,7 @@ static bool check_method_code(int code, const QObject *object, const char *metho return true; } +Q_DECL_COLD_FUNCTION static void err_method_notfound(const QObject *object, const char *method, const char *func) { @@ -2708,6 +2709,7 @@ static void err_method_notfound(const QObject *object, object->metaObject()->className(), method + 1, loc ? " in " : "", loc ? loc : ""); } +Q_DECL_COLD_FUNCTION static void err_info_about_objects(const char *func, const QObject *sender, const QObject *receiver) { QString a = sender ? sender->objectName() : QString();